onStateChanged method
void
onStateChanged(
- S oldState,
- S currentState
this method is called when the state has been changed
Implementation
void onStateChanged(S oldState, S currentState) {}