getRecentChatListHistory method
Future
getRecentChatListHistory(
{ - required bool firstSet,
- int limit = 15,
})
override
Implementation
@override
Future<dynamic> getRecentChatListHistory({required bool firstSet, int limit = 15}) async {
//getRecentChats
dynamic recentResponse;
try {
LogMessage.d("getRecentChatListHistory", "firstSet $firstSet");
recentResponse = await mirrorFlyMethodChannel.invokeMethod('getRecentChatListHistory', {"firstSet": firstSet, "limit": limit});
LogMessage.d("getRecentChatListHistory", "$recentResponse");
return recentResponse;
} on PlatformException catch (e) {
LogMessage.d("Platform Exception =", " $e");
rethrow;
} on Exception catch (error) {
LogMessage.d("Exception ", " $error");
rethrow;
}
}