showNotification method
The showNotification()
method of the
ServiceWorkerRegistration interface creates a notification on an active
service worker.
Implementation
external JSPromise<JSAny?> showNotification(
String title, [
NotificationOptions options,
]);