FinalState class
A final state in a state tree.
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
- FinalState.new(StateKey key, {TransitionHandler? onEnter})
-
Constructs a final 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