matchAll method

Gets a list of service worker clients and returns them in a Promise. Include the options parameter to return all service worker clients whose origin is the same as the associated service worker's origin. If options are not included, the method returns only the service worker clients controlled by the service worker.

Implementation

Future<List<ServiceWorkerClient>> matchAll(
        [ServiceWorkerClientsMatchOptions? options]) =>
    promiseToFuture<List, List<ServiceWorkerClient>>(
        _callMethod(_delegate, 'matchAll', [options]),
        (List list) => list
            .map<ServiceWorkerClient>(
                (j) => ServiceWorkerClient._(j as Object))
            .toList());