StateBuilder class abstract
Provides methods for describing the behavior of a state.
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
-
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
-
onExit(
void buildHandler(TransitionHandlerBuilder b)) → void - Describes how transitions from this state should be handled.
-
onExitWithData<
D> (void handler(TransitionHandlerBuilderWithData< D> )) → void - Describes how transitions from this state should be handled.
-
onMessage<
M> (void buildHandler(MessageHandlerBuilder< M> b)) → void -
onMessageValue<
M> (M message, void buildHandler(MessageHandlerBuilder< M> b), {String? messageName}) → void -
runOnEnter(
TransitionHandler handler) → void -
Registers
handleras the onEnter handler function for this state.inherited -
runOnExit(
TransitionHandler handler) → void -
Registers
handleras the onExit handler function for this state.inherited -
runOnMessage(
MessageHandler handler) → void -
Registers
handleras the message handler function for this state.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited