setBusy method

void setBusy(
  1. bool value
)
inherited

Implementation

void setBusy(bool value) {
  _errorMessage = null;
  viewState = value ? ViewModelState.busy : ViewModelState.idle;
}