StateChange<State> constructor

const StateChange<State>({
  1. required State currentState,
  2. required State nextState,
})

Implementation

const StateChange({required this.currentState, required this.nextState});