hasError property
bool
get
hasError
Returns true if the state represents an error.
Implementation
bool get hasError => _status == AsyncStatus.error;
Returns true if the state represents an error.
bool get hasError => _status == AsyncStatus.error;