showNotification method

Future showNotification(String title, [ Map options ])

Source

Future showNotification(String title, [Map options]) {
  if (options != null) {
    return _blink.BlinkServiceWorkerRegistration.instance
        .showNotification_Callback_2_(
            this, title, convertDartToNative_Dictionary(options));
  }
  return _blink.BlinkServiceWorkerRegistration.instance
      .showNotification_Callback_1_(this, title);
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/ServiceWorkerRegistration/showNotification.html