W3cubDocs

/Dart 2

fetch method

Future fetch (String id, Object requests, [ Map options ])

Implementation

Future fetch(String id, Object requests, [Map options]) {
  if (options != null) {
    var options_1 = convertDartToNative_Dictionary(options);
    return _fetch_1(id, requests, options_1);
  }
  return _fetch_2(id, requests);
}

© 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/BackgroundFetchManager/fetch.html