updateState method
- ScienceState input
Updates the state and refreshes the UI.
Implementation
void updateState(ScienceState input) {
state = input;
notifyListeners();
}
Updates the state and refreshes the UI.
void updateState(ScienceState input) {
state = input;
notifyListeners();
}