clearAllChatSelection method

dynamic clearAllChatSelection()

Implementation

clearAllChatSelection() {
  debugPrint("clear selection $currentTab");
  //Need to check the Codes below if condition for Calls tab, whether it is required or not
  if (currentTab.value == 1) {
    selectedCallLogs.clear();
    selectedCallLogsPosition.clear();
    selectedLog(false);
  }
  selected(false);
  selectedChats.clear();
  selectedChatsPosition.clear();
  archive(false);
  pin(false);
  unpin(false);
  mute(false);
  unmute(false);
  read(false);
  unread(false);
  delete(false);
  info(false);
  shortcut(false);
  update();
}