markAsRead static method

Future<bool?> markAsRead({
  1. required String jid,
})

Marks a message as read on the Mirrorfly chat platform.

This static method asynchronously marks a message as read with the specified jid, which represents the unique identifier of the chat.

Returns a Future<bool?> that completes with a boolean value indicating whether the operation was successful.

Implementation

static Future<bool?> markAsRead({required String jid}) {
  return FlyChatFlutterPlatform.instance.markAsRead(jid);
}