EventBus class

Constructors

EventBus({bool sync = false})
EventBus.customController(StreamController controller)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
streamController StreamController
no setter

Methods

destroy() → void
Destroy this EventBus. This is generally only in a testing context.
fire(dynamic event) → void
Fires a new event on the event bus with the specified event.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
on<T>() Stream<T>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited