removeConversation method

void removeConversation(
  1. List<String> convIds
)

Implementation

void removeConversation(List<String> convIds) {
  for (var i = 0; i < convIds.length; i++) {
    String convID = convIds[i];
    _conversationList.removeWhere((element) => element.conversationID == convID);
    console(logs: "removeConversation $convID conv changed. total conv length is ${_conversationList.length}");
  }
  notifyListener(TencentCloudChatConversationDataKeys.conversationList as T);
}