markConversationAsRead method

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

Implementation

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