to<TNextState extends TState> method
Defines a transition to the state of type TNextState stored on the
blackboard.
Implementation
@protected
Transition to<TNextState extends TState>() => _internalState.to<TNextState>();