update method

Allows you to update a service worker.

Implementation

Future<ServiceWorkerRegistration> update() =>
    promiseToFuture<Object, ServiceWorkerRegistration>(
        _callMethod(_delegate, 'update', []), ServiceWorkerRegistration._);