NetworkResponseException class

Exception thrown if a network request returned with an unexpected status code

Inheritance

Constructors

NetworkResponseException(Response networkResponse)
Creates a NetworkResponseException from the given networkResponse.

Properties

errorMessage String
The description of the error.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
networkResponse → Response
The network response which doesn't match the expected result.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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