cancelTaskNotification method
Cancel (i.e., remove) the notification for the task
.
Implementation
@override
Future<void> cancelTaskNotification(UserTask task) async {
if (task.notification) {
await FlutterLocalNotificationsPlugin().cancel(task.id.hashCode);
info('$runtimeType - Notification canceled for $task');
}
}