OdinDioInterceptor constructor

OdinDioInterceptor({
  1. dynamic onRequestHandler(
    1. RequestOptions options,
    2. RequestInterceptorHandler handler
    )?,
  2. dynamic onResponseHandler(
    1. Response response,
    2. ResponseInterceptorHandler handler
    )?,
  3. dynamic onErrorHandler(
    1. DioError err,
    2. ErrorInterceptorHandler handler
    )?,
})

Implementation

OdinDioInterceptor({
  this.onRequestHandler,
  this.onResponseHandler,
  this.onErrorHandler,
});