onEvent method
Broadcasts the given event
to all appropriate listeners.
If the listener supports async execution, it may be executed asynchronously depending on implementation.
multicaster.multicastEvent(MyAppStartedEvent());
Implementation
Future<void> onEvent(ApplicationEvent event) async {}