HttpResponseError class Null safety
Returned when client fails to execute http request. Will contain reason why request failed.
Properties
- errorCode ↔ int
-
Error code of response
read / write
- errorMessage ↔ String
-
Message why http request failed
read / write
- 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
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
override
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited