send<T extends Event> method
Null safety
- T event
sends an event onto the eventbus
Implementation
FutureOr<void> send<T extends Event>(T event) async {
await componentRegistry.sendEvent<T>(event);
}
sends an event onto the eventbus
FutureOr<void> send<T extends Event>(T event) async {
await componentRegistry.sendEvent<T>(event);
}