hasError property

bool get hasError

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;