requestInterceptor property
Request interceptor. Called right before request is sent.
Implementation
@override
RequestInterceptor? get requestInterceptor => _requestInterceptor;
Set the request interceptor. Will throw if the request has already been sent.
Implementation
@override
set requestInterceptor(RequestInterceptor? interceptor) {
verifyUnsent();
_requestInterceptor = interceptor;
}