removeInterceptor method
Removes an interceptor from the adapter.
Parameters:
interceptor: The interceptor to remove
If the interceptor is not found, this method does nothing.
Example:
final authInterceptor = AuthInterceptor();
adapter.addInterceptor(authInterceptor);
// Later, remove it
adapter.removeInterceptor(authInterceptor);
Implementation
@override
void removeInterceptor(AdapterInterceptor interceptor) {
_interceptors.remove(interceptor);
// 不再使用 Dio 的拦截器桥接
// _dio.interceptors.removeWhere((i) =>
// i is _DioInterceptorBridge && i.interceptor == interceptor
// );
}