ApiException class abstract

Superclass for all EasyPost API-related exceptions.

Inheritance
Implementers

Constructors

ApiException(String? message, int? statusCode, String? reason, {List<Error>? errors})
const

Properties

errors List<Error>?
final
hashCode int
The hash code for this object.
no setterinherited
message String?
finalinherited
reason String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusCode int?
finalinherited

Methods

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

Operators

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

Static Methods

fromStreamedResponse(StreamedResponse response) Future<ApiException>
Creates an instance of ApiException based on the response.