showNotification method
Creates a notification on an active service worker.
Implementation
Future<NotificationEvent> showNotification(String title,
[ShowNotificationOptions? options]) {
List args = [title];
if (options != null) args.add(options);
return promiseToFuture<Object, NotificationEvent>(
_callMethod(_delegate, 'showNotification', args), NotificationEvent._);
}