markInboxNotificationsRead method

Future<int?> markInboxNotificationsRead(
  1. String userId,
  2. List<String> ids
)

Marks 1 to 100 notifications as read, returns the number that changed to read or null on error. Ids already read or not owned by the user are ignored.

Implementation

Future<int?> markInboxNotificationsRead(String userId, List<String> ids) async {
  return FlutterLinkIdMmpPlatform.instance.markInboxNotificationsRead(userId: userId, ids: ids);
}