Event<T> class
Constructors
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
-
addAsyncListener(
EventAsyncFunction listener) → Event - Adds an asynchronous listener to the event.
-
addListener(
EventFunction listener) → Event - Adds a listener to the event.
-
emit(
[dynamic data]) → Future< int> - Emits the event, calling all registered listeners.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited