HttpResponseError class Null safety

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

Implemented types

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
stackTrace StackTrace?
The stack trace at the point where this error was first thrown. [...]
read-only, override
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