resolve method Null safety

void resolve(
  1. Response response
)

Return the response directly! Other response interceptor(s) will not be executed. response: Response object to return.

Implementation

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