AliceDioInterceptor class

Inheritance

Constructors

AliceDioInterceptor(AliceCore aliceCore)
Creates dio interceptor

Properties

aliceCore AliceCore
AliceCore instance
final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
onError(DioError error) Future
Handles error and adds data to alice http call
override
onRequest(RequestOptions options) Future
Handles dio request and creates alice http call based on it
override
onResponse(Response response) Future
Handles dio response and adds data to alice http call
override
toString() String
Returns a string representation of this object.
inherited

Operators

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