AliceDioInterceptor class

Constructors

AliceDioInterceptor(AliceCore aliceCore)
Creates dio interceptor

Properties

aliceCore AliceCore
AliceCore instance
final
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
onError(DioException error, ErrorInterceptorHandler handler) → void
Handles error and adds data to alice http call
onRequest(RequestOptions options, RequestInterceptorHandler handler) → void
Handles dio request and creates alice http call based on it
onResponse(Response response, ResponseInterceptorHandler handler) → void
Handles dio response and adds data to alice http call
toString() String
A string representation of this object.
inherited

Operators

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