hasError property Null safety
Returns true
if an error has occurred while issuing the request.
If true
, attempting to access some fields will throw a 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 a HttpProfileRequestError.
bool get hasError => error != null;