Set isBusy flag to false and hasError to the specified value, then trigger view widget rebuild.
hasError
void setIdle({required bool hasError}) { _hasError = hasError; _busy = false; notifyListeners(); }