ActionDispatchedEvent class

An action has been dispatched. Usually, a ChangeEvent directly follows this event. If the action is asynchronous, the ChangeEvent can be delayed.

Inheritance

Constructors

ActionDispatchedEvent({required String debugOrigin, required LabeledReference debugOriginRef, required BaseNotifier notifier, required BaseReduxAction<ReduxNotifier, dynamic, dynamic> action})

Properties

action BaseReduxAction<ReduxNotifier, dynamic, dynamic>
The action that has been dispatched.
final
debugLabel String
A label to be used in debug messages and by the RefenaTracingPage.
no setterinherited
debugOrigin String
Where the action has been dispatched. Usually, the class name of the widget, provider, notifier, or action.
final
debugOriginRef LabeledReference
The actual reference to the origin. This may be the notifier, the action, or the rebuildable.
final
hashCode int
The hash code for this object.
no setteroverride
millisSinceEpoch int
The timestamp when the event was fired. We use int to save memory.
finalinherited
notifier → BaseNotifier
The corresponding notifier.
final
refenaId int
The id.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

compareIdentity(IdReference other) bool
Returns true, if the other reference has the same id.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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