Event class abstract
Event is the abstraction for every event that can be ingested by a handler.
Note is currently not supported to register your own events here.
T>( ) → void
- Deregisters an event.
T>( ) → bool
- Checks if a type of event is already registered.
T>( Type type, Map< String, dynamic>json) → dynamic
- Creates a new event from a handler type with the NextInvocation.response.
T>( T func(Map< String, dynamic>)) → void
- Registers an event.
T extends Event>( ) → (T Function(Map< String, dynamic>)?)
Returs the value of a registered event. It is
nullif no such event has been registered.