markConversationAsUnread static method

dynamic markConversationAsUnread({
  1. required List<String> jidList,
})

Marks the conversations with the specified JIDs as Unread.

This method communicates with the Mirrorfly chat platform to mark the conversations associated with the provided JIDs as read.

The jidList parameter is a list of JIDs (Jabber IDs) identifying the conversations to be marked as Unread.

Example:

Mirrorfly.markConversationAsUnread(jidList: ['user1@example.com', 'user2@example.com']);

Throws a PlatformException if an error occurs during the process.

Implementation

static markConversationAsUnread({required List<String> jidList}) {
  return FlyChatFlutterPlatform.instance.markConversationAsUnread(jidList);
}