W3cubDocs

/Dart 2

fetch method

Future fetch (dynamic input, [ Map init ])

Implementation

Future fetch(/*RequestInfo*/ input, [Map init]) {
  if (init != null) {
    var init_1 = convertDartToNative_Dictionary(init);
    return _fetch_1(input, init_1);
  }
  return _fetch_2(input);
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/2.0.0/dart-html/WorkerGlobalScope/fetch.html