EnterStateBuilder<D> class abstract

Provides methods for describing the behavior of a state, carrying state data of type D, when is entered. D may be void if the state does not have any associated state data.

Implementers

Constructors

EnterStateBuilder()

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

handleOnEnter(TransitionHandler handler, {String? label}) → void
Handles all entry transitions with the handler function.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onEnter(void build(TransitionHandlerBuilder<D, void>)) → void
Describes how transitions to this state should be handled.
onEnterFromChannel<P>(Channel<P> channel, void build(TransitionHandlerBuilder<D, P>)) → void
Describes how transition to this state through channel should be handled.
onEnterWithData<D2>(void build(TransitionHandlerBuilder<D, D2>)) → void
Describes how transitions to this state should be handled.
toString() String
A string representation of this object.
inherited

Operators

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