client property

Returns the Client that the current service worker is controlling.

Implementation

ServiceWorkerClient get client =>
    _client ??= ServiceWorkerClient._(_getProperty(_delegate, 'client'));