getInboxNotifications method
One page of the user's inbox, newest first. Returns null on error.
limit 1 to 50, null for the server default (20).
cursor nextCursor of the previous page, null for the first page.
topicCode only notifications of this topic, null for all.
Implementation
Future<InboxNotificationPageData?> getInboxNotifications(
String userId, {
int? limit,
String? cursor,
String? topicCode,
bool unreadOnly = false,
}) async {
return FlutterLinkIdMmpPlatform.instance.getInboxNotifications(
userId: userId,
limit: limit,
cursor: cursor,
topicCode: topicCode,
unreadOnly: unreadOnly);
}