markConversationAsRead static method
Marks the conversations with the specified JIDs as read.
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 read.
Example:
Mirrorfly.markConversationAsRead(jidList: ['user1@example.com', 'user2@example.com']);
Throws a PlatformException if an error occurs during the process.
Implementation
static markConversationAsRead({required List<String> jidList}) {
return FlyChatFlutterPlatform.instance.markConversationAsRead(jidList);
}