getMediaMessages method

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

Implementation

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