fetch method

Future<BackgroundFetchRegistration> fetch(
  1. String id,
  2. dynamic requests, [
  3. BackgroundFetchOptions? options
])

Implementation

Future<BackgroundFetchRegistration> fetch(String id, dynamic requests,
        [BackgroundFetchOptions? options]) =>
    js_util.promiseToFuture(
        js_util.callMethod(this, 'fetch', [id, requests, options]));