MachineDoneWhenBuilder<C> class

Provides methods for defining conditional behavior of a StateTreeBuilder.machineState, when the nested state machine completes.

Constructors

MachineDoneWhenBuilder(MachineDoneHandlerBuilder<C> makeBuilder(), List<MessageConditionDescriptor<Object, NestedMachineData, C>> conditions)

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
otherwise(void buildOtherwise(MachineDoneHandlerBuilder<C> builder), {String? label}) → void
inherited
toString() String
A string representation of this object.
inherited
when(FutureOr<bool> condition(MessageHandlerContext<Object, NestedMachineData, C>), void buildTrue(MachineDoneHandlerBuilder<C> builder), {String? label}) MachineDoneWhenBuilder<C>

Operators

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