TransitionHandlerContext<D, C> class

Provides access to the context for a transition handler, including the transitionContext, the state data, and a context value.

Constructors

TransitionHandlerContext(TransitionContext transitionContext, D data, C context)

Properties

context → C
An extra data value for the transition, whose value may depend on the context in which is used.
final
data → D
The state data of the state that is handling the transition. This may be of void type if the state has no state data.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
transitionContext → TransitionContext
The TransitionContext that describes the state transition that is taking place.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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