setServiceWorkerClient method
Sets the client to capture service worker related callbacks. A ServiceWorkerClient should be set before any service workers are active, e.g. a safe place is before any WebView instances are created or pages loaded.
Officially Supported Platforms/Implementations:
- Android native WebView (Official API - ServiceWorkerControllerCompat.setServiceWorkerClient)
Implementation
Future<void> setServiceWorkerClient(ServiceWorkerClient? value) {
throw UnimplementedError(
'setServiceWorkerClient is not implemented on the current platform');
}