ApiException class

Thrown by ApiClient to indicate a failed API call.

An API call is considered failed if its response's statusCode falls outside the 2xx range.

Constructors

ApiException(Uri url, dynamic body, BaseRequest request, Response response)

Properties

body → dynamic
final
hashCode int
The hash code for this object.
no setterinherited
request → BaseRequest
final
response → Response
final
responseBody → dynamic
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusCode int
no setter
url Uri
final

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