whenEventCome<Event> method
The same thing as in the Backend - this method using to register Frontend handlers (in initActions method)
Implementation
@protected
FrontendActionInitializer<Event> whenEventCome<Event>([Event? event]) =>
FrontendActionInitializer(
frontend: this,
event: event,
eventType: Event,
);