markConversationAsUnread method

  1. @override
dynamic markConversationAsUnread(
  1. List<String> jidlist
)
override

This method is used to mark the conversation as unread.

Implementation

@override
markConversationAsUnread(List<String> jidlist) async {
  try {
    await mirrorFlyMethodChannel
        .invokeMethod('markConversationAsUnread', {"jidlist": jidlist});
  } on PlatformException catch (e) {
    LogMessage.d("Platform Exception =", " $e");
    rethrow;
  } on Exception catch (error) {
    LogMessage.d("Exception ", " $error");
    rethrow;
  }
}