getRecentChatList method
Implementation
@override
Future<dynamic> getRecentChatList() async {
//getRecentChats
dynamic recentResponse;
try {
recentResponse =
await mirrorFlyMethodChannel.invokeMethod('getRecentChatList');
debugPrint("recent Result ==> $recentResponse");
return recentResponse;
} on PlatformException catch (e) {
debugPrint("Platform Exception ===> $e");
rethrow;
} on Exception catch (error) {
debugPrint("Exception ==> $error");
rethrow;
}
}