getMediaMessages method
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;
}
}