claim method

Future<void> claim()

Allows an active Service Worker to set itself as the active worker for a client page when the worker and the page are in the same scope.

Implementation

Future<void> claim() => promiseToFuture(_callMethod(_delegate, 'claim', []));