close method

Future<void> close(
  1. LocalNotification notification
)

Closes the notification immediately.

Implementation

Future<void> close(LocalNotification notification) async {
  final Map<String, dynamic> arguments = notification.toJson();
  await _channel.invokeMethod('close', arguments);
}