ChuckDioInterceptor class

Constructors

ChuckDioInterceptor(ChuckCore chuckCore)
Creates dio interceptor

Properties

chuckCore ChuckCore
ChuckCore 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 Chuck http call
onRequest(RequestOptions options, RequestInterceptorHandler handler) → void
Handles dio request and creates Chuck http call based on it
onResponse(Response response, ResponseInterceptorHandler handler) → void
Handles dio response and adds data to Chuck http call
toString() String
A string representation of this object.
inherited

Operators

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