setError method

void setError(
  1. bool value
)

Sets error value

Implementation

void setError(bool value) {
  _error = value;
}