unreadAll method

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

Marks all notifications as unread.

Implementation

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