markAllAsRead method
- String token,
- 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);
}
}