getDisplayNameByV2TimGroupMemberInfo static method
Implementation
static String getDisplayNameByV2TimGroupMemberInfo(
V2TimGroupMemberFullInfo? info,
) {
String res = "";
if (info == null) {
return "";
}
if (checkString(info.userID) == null) {
return res;
}
if (checkString(info.friendRemark) != null) {
return info.friendRemark!;
}
if (checkString(info.nameCard) != null) {
return info.nameCard!;
}
if (checkString(info.nickName) != null) {
return info.nickName!;
}
return info.userID;
}