getRegistrations function

Future<List<ServiceWorkerRegistration>> getRegistrations()

Returns all ServiceWorkerRegistrations associated with a ServiceWorkerContainer in an array. If the method can't return ServiceWorkerRegistrations, it returns a Promise.

Implementation

Future<List<ServiceWorkerRegistration>> getRegistrations() =>
    _self!.getRegistrations();