addInterceptor method
void
addInterceptor(
- Interceptor interceptor
Add a new interceptor to be executed against all requests
Implementation
void addInterceptor(Interceptor interceptor) {
dio.interceptors.add(interceptor);
}