ChangeEvent<T> class
The most frequent event. A notifier changed its state and notifies all listeners that they should rebuild.
- Inheritance
-
- Object
- RefenaEvent
- AbstractChangeEvent<
T> - ChangeEvent
Constructors
-
ChangeEvent({required BaseNotifier<
T> notifier, required BaseReduxAction<ReduxNotifier, dynamic, dynamic> ? action, required T prev, required T next, required List<Rebuildable> rebuild})
Properties
-
action
→ BaseReduxAction<
ReduxNotifier, dynamic, dynamic> ? -
The dispatched action if the change was triggered by an ReduxNotifier.
final
- debugLabel → String
-
A label to be used in debug messages and
by the
RefenaTracingPage
.no setteroverride - 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
- next → T
-
The state after the change.
finalinherited
-
notifier
→ BaseNotifier<
T> -
The notifier that fired the change event.
final
- prev → T
-
The previous state before the event.
finalinherited
-
rebuild
→ List<
Rebuildable> -
A list of rebuildable objects that should be rebuilt in the next tick.
This is the case if a Rebuildable is watching the current provider.
finalinherited
- refenaId → int
-
The id.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stateType → Type
-
The generic type of the state.
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