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