removeNotification method

  1. @override
Future<void> removeNotification(
  1. String id,
  2. String group,
  3. String? applicationId
)
override

Implementation

@override
Future<void> removeNotification(
    String id, final String group, final String? applicationId) async {
  final Map<String, dynamic> data = {
    "tag": id,
    "group": group,
  };
  if (applicationId != null) data["application_id"] = applicationId;
  await methodChannel.invokeMethod("remove_notification", data);
}