StateMachineValue class
Structure that olds the currently active StateNodeDefinition
in a
StateMachine.
Since we can have a parallel statemachines we can have multiple active nodes at once.
Constructors
-
StateMachineValue(StateNodeDefinition<
AutomataState> node)
Properties
-
activeNodes
→ Iterable<
StateNodeDefinition< AutomataState> > -
Returns all the currently active
StateNodeDefinition
.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
add(
StateNodeDefinition< AutomataState> node) → void -
Add a new active
StateNodeDefinition
. -
isInState(
Type S) → bool -
Check if the given
State
is in the path of any of the currently activeStateNodeDefinition
. -
matchesStatePath(
List< Type> path) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remove(
StateNodeDefinition< AutomataState> node) → void -
Remove a active
StateNodeDefinition
. -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited