setError method

void setError(
  1. String message
)
inherited

Implementation

void setError(String message) {
  _errorMessage = message;
  viewState = ViewModelState.error;
}