hasError property
bool
get
hasError
Indicates whether the response contains error.
Implementation
bool get hasError => exception != null;
Indicates whether the response contains error.
bool get hasError => exception != null;