markNotificationAsRead abstract method

Future<void> markNotificationAsRead(
  1. BatchInboxNotificationContent notification
)

Marks a notification 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> markNotificationAsRead(
    BatchInboxNotificationContent notification);