addError method

void addError(
  1. Object? error
)

Implementation

void addError(Object? error) {
  _error.value = error;
}