InterceptorBridge class

拦截器桥接工具

用于将 Dio 拦截器桥接到 AdapterInterceptor 接口 使现有的 Dio 拦截器可以与适配器架构一起使用

Constructors

InterceptorBridge()

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
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromDioInterceptor(Interceptor dioInterceptor) AdapterInterceptor
将 Dio Interceptor 转换为 AdapterInterceptor