getArchivedChatsList method
dynamic
getArchivedChatsList()
Implementation
getArchivedChatsList() async {
await Mirrorfly.getArchivedChatList(flyCallBack: (FlyResponse response) {
mirrorFlyLog("archived response", response.toString());
if (response.isSuccess && response.hasData) {
var data = recentChatFromJson(response.data);
archivedChats(data.data!);
} else {
debugPrint("Archive list is empty");
}
});
}