buildFriendGroup method
Implementation
void buildFriendGroup(List<V2TimFriendGroup> friendGroup, String action) {
for (var element in friendGroup) {
var index = _friendGroup.indexWhere((ele) => element.name == ele.name);
if (index > -1) {
_friendGroup[index] = element;
} else {
_friendGroup.add(element);
}
}
notifyListener(TencentCloudChatContactDataKeys.blockList as T);
}