InterceptorSuccessCallback typedef

InterceptorSuccessCallback = void Function(Response response, ResponseInterceptorHandler handler)

The signature of Interceptor.onResponse.

Implementation

typedef InterceptorSuccessCallback = void Function(
  Response<dynamic> response,
  ResponseInterceptorHandler handler,
);