StateOfMind class
Constructors
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
-
activeLeafStates(
) → List< StateDefinition< State> > - returns a StateDefinition for all active states
-
dedup(
) → void - With co-regions we can have multiple states that collapse into a single state. This can result in duplicate paths so we need to reduce the duplicates to a single state.
-
isInState(
Type state) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pathForLeafState(
Type leafState) → StatePath? -
stripRedundantParents(
) → void - We don't need a discrete parent StatePath if the state of mind also contains a child of that parent.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited