dispatchNotification method Null safety
- EngineNotification notification
Dispatch notification
to all registered _dispatchers
Implementation
Future<void> dispatchNotification(EngineNotification notification) async {
for (final dispatcher in _dispatchers) {
await dispatcher.dispatch(notification);
}
}