markAllAsRead method

  1. @override
Future<void> markAllAsRead(
  1. String token,
  2. List<Notification> notifications
)
override

Marks all notifications as read.

Implementation

@override
Future<void> markAllAsRead(String token, List<Notification> notifications) async {
  for (final notification in notifications) {
    await _setReadStatus(token, notification, true);
  }
}