hasError property
bool
get
hasError
Indicates if an error has occurred or not.
Implementation
bool get hasError => _error != null;
Indicates if an error has occurred or not.
bool get hasError => _error != null;