getPrivateChat method
Implementation
List<ChatModel> getPrivateChat() {
for (var chatData in enxController.privateChatListData) {
if (chatData.clientId == clientId) {
print("er12${chatData.chatList.length}");
return chatData.chatList;
}
}
return enxController.privateChatList;
}