setBusy method

void setBusy()

Set isBusy flag to true and hasError to false, then trigger view widget rebuild.

Implementation

void setBusy() {
  _hasError = false;
  _busy = true;

  notifyListeners();
}