FinalStateBuilder class abstract

Provides methods for describing the behavior of a final state in a state tree.

A final state is a terminal state for a state tree. Once a final state has beem entered, no further messsage processing or state transitions will occur. As a result, only state entry behavior may be defined for a final state with this builder.

Constructors

FinalStateBuilder()

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
onEnter(void build(TransitionHandlerBuilder b)) → void
Describes how transitions to this state should be handled.
inherited
onEnterFromChannel<P>(Channel<P> channel, void handler(TransitionHandlerBuilderWithPayload<P>)) → void
inherited
onEnterWithData<D>(void handler(TransitionHandlerBuilderWithData<D>)) → void
Describes how transitions to this state should be handled.
inherited
runOnEnter(TransitionHandler handler) → void
Registers handler as the onEnter handler function for this state.
inherited
toString() String
A string representation of this object.
inherited

Operators

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