updateState method

void updateState(
  1. StudyMode updatedState
)

Implementation

void updateState(StudyMode updatedState) {
  _currentState = updatedState;
  notifyListeners();
}