Notification factory constructor
Notification(Source
factory Notification(String title, {String dir: null, String body: null, String lang: null, String tag: null, String icon: null}) { var parsedOptions = {}; if (dir != null) parsedOptions['dir'] = dir; if (body != null) parsedOptions['body'] = body; if (lang != null) parsedOptions['lang'] = lang; if (tag != null) parsedOptions['tag'] = tag; if (icon != null) parsedOptions['icon'] = icon; return Notification._factoryNotification(title, parsedOptions); }
© 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/Notification/Notification.html