markAllNotificationsAsRead abstract method

Future<void> markAllNotificationsAsRead()

Marks all notifications as read. Note: Please refresh your copy of the notifications using allNotifications to update the read status. Calling fetchNewNotifications()/fetchNextPage() right away might cause notifications to come as unread, as the server needs time to process your request.

Implementation

Future<void> markAllNotificationsAsRead();