resolve method

void resolve(
  1. Response response
)

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();
}