setHasError method

void setHasError()

Implementation

void setHasError() => _hasError = true;