updateUI method

void updateUI()

Implementation

void updateUI() {
  _shouldUpdate = !_shouldUpdate;
  notifyListeners();
}