cancelNotification method

Future<void> cancelNotification(
  1. int notificationId
)

Cancela uma notificação específica

Implementation

Future<void> cancelNotification(int notificationId) async {
  if (!isEnabled) return;

  _activeNotifications.remove(notificationId);
  debugPrint('[Syncly] Notificação $notificationId cancelada');
}