addInterceptor static method
void
addInterceptor(
- Interceptor interceptor
Implementation
static void addInterceptor(Interceptor interceptor) {
AnHttp.instance.dio().interceptors.add(interceptor);
}