showNotification method

JSPromise<JSAny?> showNotification(
  1. String title, [
  2. NotificationOptions options
])

The showNotification() method of the ServiceWorkerRegistration interface creates a notification on an active service worker.

Implementation

external JSPromise<JSAny?> showNotification(
  String title, [
  NotificationOptions options,
]);