sendLocalNotification method

Future<String> sendLocalNotification(
  1. LocalNotification notification
)
override

发送本地通知到调度器,指定时间出发该通知。 @param {Notification} notification

Implementation

Future<String> sendLocalNotification(LocalNotification notification) async {
  print(flutter_log + "sendLocalNotification:");

  await _channel.invokeMethod('sendLocalNotification', notification.toMap());

  return notification.toMap().toString();
}