update abstract method
void
update(
- T newState
Updates the current state to newState and notifies listeners.
Implementation
void update(T newState);
Updates the current state to newState and notifies listeners.
void update(T newState);