EventTaxiImpl class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close()
→ void
-
Cancels all internals Sink's
a closed event bus should not be used.
Doing so will result in AssertionError.
override
-
fire<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:
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
registerAll([bool includeLastEvent = false])
→ Stream<Event>
-
Listens for events of all subtypes of
Event
.
override
-
registerTo<T extends Event>([bool includeLastEvent = false])
→ Stream<T>
-
Listens for events of Type Event and its subtypes.
override
-
toString()
→ String
-
A string representation of this object.
inherited