itemsUnRead method
dynamic
itemsUnRead()
Implementation
itemsUnRead() {
selected(false);
Mirrorfly.markConversationAsUnread(selectedChats);
for (var element in selectedChatsPosition) {
recentChats[element].isConversationUnRead = true;
}
//toToast("Chat${selectedChats.length == 1 ? Constants.emptyString : "s"} marked as unread");
if(selectedChats.length > 1){
toToast(AppConstants.chatsMarkedAsUnRead);
}else{
toToast(AppConstants.chatMarkedAsUnRead);
}
clearAllChatSelection();
updateUnReadChatCount();
}