setState method
- int s
Implementation
void setState(int s) {
_state = s;
if (_state < _lowestState) {
_lowestState = _state;
}
notifyListeners();
}
void setState(int s) {
_state = s;
if (_state < _lowestState) {
_lowestState = _state;
}
notifyListeners();
}