EventTaxi class Null safety
Dispatches events to listeners using the Dart Stream API. The EventTaxi enables decoupled applications. It allows objects to interact without requiring to explicitly define listeners and keeping track of them.
) → void
- Cancels all internals Sink's a closed event bus should not be used. Doing so will result in AssertionError.
T extends Event>( T event) → void
Fires a new event to everyone registered for events of type
T. You can simply create an event by subclassing Event: [...]
Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
[bool includeLastEvent = false]) → Stream< Event>
Listens for events of all subtypes of
T extends Event>( [bool includeLastEvent = false]) → Stream< T>
- Listens for events of Type Event and its subtypes. [...]
) → String
A string representation of this object. [...]