resolve method

void resolve(
  1. Response response
)

Complete the request with Response object and other error interceptor(s) will not be executed. This will be considered a successful request!

response: Response object to return.

Implementation

void resolve(Response response) {
  _completer.complete(InterceptorState<Response>(
    response,
    InterceptorResultType.resolve,
  ));
  _processNextInQueue?.call();
}