responseInterceptor property

  1. @override
ResponseInterceptor? get responseInterceptor
inherited

Response interceptor. Called after response is received and before it is delivered to the request sender.

Implementation

@override
ResponseInterceptor? get responseInterceptor => _responseInterceptor;
  1. @override
set responseInterceptor (ResponseInterceptor? interceptor)
inherited

Set the response interceptor. Will throw if the request has already been sent.

Implementation

@override
set responseInterceptor(ResponseInterceptor? interceptor) {
  verifyUnsent();
  _responseInterceptor = interceptor;
}