getRegistrations function
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();