W3cubDocs

/Dart 2

showNotification method

Future showNotification (String title, [ Map options ])

Implementation

Future showNotification(String title, [Map options]) {
  if (options != null) {
    var options_1 = convertDartToNative_Dictionary(options);
    return _showNotification_1(title, options_1);
  }
  return _showNotification_2(title);
}

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