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