hasError property
Returns true
if an error has occurred while issuing the request.
If true
, attempting to access some fields will throw an
HttpProfileRequestError.
Implementation
bool get hasError => error != null;
Returns true
if an error has occurred while issuing the request.
If true
, attempting to access some fields will throw an
HttpProfileRequestError.
bool get hasError => error != null;