NirikshakDioInterceptor class

Constructors

NirikshakDioInterceptor(NirikshakCore nirikshakCore)
Creates dio interceptor
const

Properties

hashCode int
The hash code for this object.
no setterinherited
nirikshakCore NirikshakCore
NirikshakCore instance
final
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(DioError error, ErrorInterceptorHandler handler) → void
Handles error and adds data to nirikshak http call
onRequest(RequestOptions options, RequestInterceptorHandler handler) → void
Handles dio request and creates nirikshak http call based on it
onResponse(Response response, ResponseInterceptorHandler handler) → void
Handles dio response and adds data to nirikshak http call
toString() String
A string representation of this object.
inherited

Operators

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