getRecalledMessagesOfAConversation method

  1. @override
Future getRecalledMessagesOfAConversation(
  1. String jid
)
override

Implementation

@override
Future<dynamic> getRecalledMessagesOfAConversation(String jid) async {
  dynamic response = "";
  try {
    response = await mirrorFlyMethodChannel
        .invokeMethod('getRecalledMessagesOfAConversation', {"jid": jid});
    debugPrint("getRecalledMessagesOfAConversation Result ==> $response");
    return response;
  } on PlatformException catch (e) {
    debugPrint("Platform Exception ===> $e");
    rethrow;
  } on Exception catch (error) {
    debugPrint("Exception ==> $error");
    rethrow;
  }
}