addInterceptor method

DioUtils addInterceptor({
  1. Interceptor? interceptor,
})

Implementation

DioUtils addInterceptor({Interceptor? interceptor}){
  if(interceptor!=null)_dio?.interceptors?.add(interceptor);
  return this;
}