fetch method

Future fetch(
  1. dynamic input, [
  2. Map? init
])

Implementation

Future fetch(/*RequestInfo*/ input, [Map? init]) {
  var init_dict = null;
  if (init != null) {
    init_dict = convertDartToNative_Dictionary(init);
  }
  return promiseToFuture(
    JS("creates:_Response;", "#.fetch(#, #)", this, input, init_dict),
  );
}