APIException class

ApiException class show http error

Implemented types

Constructors

APIException(int code, {dynamic body})
APIException.fromDio(DioException? error)

Properties

body ↔ dynamic
Error body
getter/setter pair
code int
Error code
getter/setter pair
error ↔ DioException?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
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
GetError
override

Operators

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