match method

Future<Response?> match(
  1. Request request, [
  2. CacheQueryOptions? options
])

Implementation

Future<Response?> match(Request request, [CacheQueryOptions? options]) async {
  final obj = await promiseToFuture(
      _delegate.match(request.delegate, options?.delegate));
  return obj == null ? null : responseFromJsObject(obj);
}