match method Null safety

Future match (
  1. dynamic request,
  2. [Map? options]
)

Implementation

Future match(/*RequestInfo*/ request, [Map? options]) {
  var options_dict = null;
  if (options != null) {
    options_dict = convertDartToNative_Dictionary(options);
  }
  return promiseToFuture(
      JS("", "#.match(#, #)", this, request, options_dict));
}