MessageActionWithDataBuilder<M, D> class
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
-
post<M2>({FutureOr<M2> getMessage(MessageContext msgCtx, M msg, D data)?, M2? message, String? label})
→ _MessageActionWithData<M, D>
-
Posts a new message to be processed by the state machine while a message is being handled.
-
run(FutureOr<void> action(MessageContext msgCtx, M msg, D data), {String? label})
→ _MessageActionWithData<M, D>
-
-
schedule<M2>({FutureOr<M2 Function()> getMessage(MessageContext msgCtx, M msg, D data)?, M2? message, Duration duration = Duration.zero, bool periodic = false, String? label})
→ _MessageActionWithData<M, D>
-
Schedules a message to be processed by the state machine while a message is being handled.
-
toString()
→ String
-
A string representation of this object.
inherited
-
updateData(D update(MessageContext msgCtx, M msg, D current), {String? label})
→ _MessageActionWithData<M, D>
-
-
updateParentData<P>(P update(MessageContext msgCtx, M msg, P current), {String? label})
→ _MessageActionWithData<M, D>
-