clearNotificationHistory method

  1. @override
Future<void> clearNotificationHistory(
  1. String? applicationId
)
override

Implementation

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