InspectorDioInterceptorBase class abstract

Dio拦截器基类 / Dio interceptor base class 定义Dio拦截器的三个生命周期方法 / Define three lifecycle methods for Dio interceptor

Implementers

Properties

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(Map<String, dynamic> error) → void
请求失败回调 / Callback when request fails error 错误信息 / Error information
onRequest(Map<String, dynamic> options) → void
请求发送前回调 / Callback before request is sent options 请求配置选项 / Request configuration options
onResponse(Map<String, dynamic> response) → void
请求成功响应回调 / Callback when request succeeds response 响应数据 / Response data
toString() → String
A string representation of this object.
inherited

Operators

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