responseInterceptor property
Response interceptor. Called after response is received and before it is delivered to the request sender.
Implementation
@override
ResponseInterceptor? get responseInterceptor => _responseInterceptor;
Set the response interceptor. Will throw if the request has already been sent.
Implementation
@override
set responseInterceptor(ResponseInterceptor? interceptor) {
verifyUnsent();
_responseInterceptor = interceptor;
}