resolve method
Completes the request by resolves the response
as the result.
Implementation
void resolve(Response response) {
_throwIfCompleted();
_completer.complete(
InterceptorState<Response>(
response,
InterceptorResultType.resolve,
),
);
_processNextInQueue?.call();
}