nextState method
Updates the state to the next state.
Implementation
@override
Future<void> nextState(
CommandContext<State, System> context,
State state,
) async {
_nextState(state, context.currentValue as T);
}
Updates the state to the next state.
@override
Future<void> nextState(
CommandContext<State, System> context,
State state,
) async {
_nextState(state, context.currentValue as T);
}