change abstract method
Function used to change state.
This function receives the new value of state and preforms changes to the currentValue and the previousValue.
Implementation
void change(T newValue, {StateChange<T>? stateChange});
Function used to change state.
This function receives the new value of state and preforms changes to the currentValue and the previousValue.
void change(T newValue, {StateChange<T>? stateChange});