setState method

void setState(
  1. int s
)

Implementation

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