to<TNextState extends TState> method

  1. @protected
Transition to<TNextState extends TState>()

Defines a transition to the state of type TNextState stored on the blackboard.

Implementation

@protected
Transition to<TNextState extends TState>() => _internalState.to<TNextState>();