cancelEventNotification method
- ActivityModel event
Cancels the notification for an event.
Implementation
Future<void> cancelEventNotification(ActivityModel event) async {
flutterLocalNotificationsPlugin.cancel(event.id.hashCode);
}
Cancels the notification for an event.
Future<void> cancelEventNotification(ActivityModel event) async {
flutterLocalNotificationsPlugin.cancel(event.id.hashCode);
}