HttpResponseError class

Returned when client fails to execute http request. Will contain reason why request failed.

Properties

errorCode int
Error code of response
read / write, final, late
errorMessage String
Message why http request failed
read / write, final, late
hashCode int
The hash code for this object. [...]
read-only, inherited
headers Map<String, String>
read / write, final, late, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
statusCode int
read / write, final, late, inherited
statusText String
read / write, final, late, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited