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