showNotification 方法

Future showNotification(
  1. String title,
  2. [Map? options]
)

实现

Future showNotification(String title, [Map? options]) {
  var options_dict = null;
  if (options != null) {
    options_dict = convertDartToNative_Dictionary(options);
  }
  return promiseToFuture(
      JS("", "#.showNotification(#, #)", this, title, options_dict));
}