fetch method

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

Implementation

Future<BackgroundFetchRegistration> fetch(
  String id,
  Object requests, [
  Map? options,
]) =>
    Future.error(UnsupportedError(
        'Background fetch is not available outside a browser context.'));