StateChange<State> constructor
const
StateChange<State> ({
- required State currentState,
- required State nextState,
A StateChange represents the change from one State
to another.
A StateChange consists of the currentState and nextState.
Implementation
const StateChange({required this.currentState, required this.nextState});