cancelEventNotification method

Future<void> cancelEventNotification(
  1. ActivityModel event
)

Cancels the notification for an event.

Implementation

Future<void> cancelEventNotification(ActivityModel event) async {
  flutterLocalNotificationsPlugin.cancel(event.id.hashCode);
}