dismissNotification method

Future dismissNotification(
  1. int id
)

Implementation

Future dismissNotification(int id) async {
  bool success = await _internalNotificationService.dismissNotification(id);
  if (success) {
    notifyListeners();
  }
}