EventBus class
Constructors
- EventBus()
-
factory
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
-
emit(
dynamic eventName, [dynamic arg]) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
subscribe(
Object eventName, EventCallback f) → void -
toString(
) → String -
A string representation of this object.
inherited
-
unsubscribe(
Object eventName, [EventCallback? f]) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited