hasError property
bool
hasError
Returns true if the response has error, otherwise false.
Implementation
bool get hasError => error != null;
Returns true if the response has error, otherwise false.
bool get hasError => error != null;