


# setError method








void setError
([bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) value)








## Implementation

```dart
void setError(bool value) {
  _isError = value;
}
```







