AppEventsDispatcher class
Global event dispatcher.
Constructors
- AppEventsDispatcher.new()
-
factory
Properties
Methods
-
listenTo<
T extends AppEvent> (void onData(T event), {Function? onError, void onDone()?, bool? cancelOnError}) → StreamSubscription< T> - Listens for a specific type of AppEvent.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
publish(
AppEvent event) → void - Sends a new AppEvent through dispatch.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited