context property

C context
final

An extra data value for the transition, whose value may depend on the context in which is used.

The context type is determined by the builder method that is used to define the transition handler. For example, when StateBuilder.onEnterFromChannel is used to define an entry transition, the context value will match the payload of the channel.

Implementation

final C context;