MachineStateBuilder class

Provides methods for describing the transition from a StateTreeBuilder.machineState that occurs when the nested state machine completes.

Constructors

MachineStateBuilder(StateKey key, InitialMachine _initialMachine, bool _isDone(Transition transition)?, Logger log, StateKey? parent, {required bool isFinal, StateDataCodec? codec})

Properties

hashCode int
The hash code for this object.
no setterinherited
key StateKey
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onMachineDisposed(void buildHandler(MachineDoneHandlerBuilder<void> builder)) → void
onMachineDone(void buildHandler(MachineDoneHandlerBuilder<CurrentState> builder)) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited