getRegistration method

Future<ServiceWorkerRegistration> getRegistration ([String documentURL ])

Implementation

Future<ServiceWorkerRegistration> getRegistration([String documentURL]) =>
    promiseToFuture<ServiceWorkerRegistration>(
        JS("", "#.getRegistration(#)", this, documentURL));