addInterceptor method
添加拦截器
type
拦截器类型
interceptor
子拦截器
Implementation
void addInterceptor({required InterceptorType type, required dynamic interceptor}) {
_interceptorMap[type.name] = interceptor;
}
添加拦截器
type
拦截器类型
interceptor
子拦截器
void addInterceptor({required InterceptorType type, required dynamic interceptor}) {
_interceptorMap[type.name] = interceptor;
}