code: public function onInsert(ResourceEventInterface $event)
      {
          $group = $this->getCustomerGroupFromEvent($event);
  
          $this->fixDefault($group);
      }
docs: Insert event handler.
  
  @param ResourceEventInterface $event