FinalDataState<D> class
A final data state in a state tree, with associated state data of type D
.
When a final state is entered, further message processing or state transitions will not occur, and the state tree can be considered complete.
- Implemented types
Constructors
-
FinalDataState.new(DataStateKey<
D> key, InitialData<D> initialData, {TransitionHandler? onEnter, StateDataCodec<D> ? codec}) -
Constructs a final data state, identified by
key
.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
-
nodeInfo(
TreeNodeInfo parent) → TreeNodeInfo -
Constructs a TreeNodeInfo representing the final tree state, with the specified
parent
node.override -
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