Change<State> constructor

const Change<State>(
  1. {required State currentState,
  2. 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});