DataStateBuilder<D> class
abstract
Provides methods for describing the behavior of a data state carrying a value of type D.
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 handler(TransitionHandlerBuilderWithData< D> )) → void -
onEnterFromChannel<
P> (Channel< P> channel, void handler(TransitionHandlerBuilderWithDataAndPayload<D, P> )) → void -
onExit(
void handler(TransitionHandlerBuilderWithData< D> )) → void -
onMessage<
M> (void handler(DataMessageHandlerBuilder< M, D> b)) → void -
onMessageValue<
M> (M message, void handler(DataMessageHandlerBuilder< M, D> 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