On this page
Notification constructor
Implementation
factory Notification(String title,
{String? dir, String? body, String? lang, String? tag, String? icon}) {
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 BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.18.5/dart-html/Notification/Notification.html