buildGroupMemberChangeInfoText static method
Implementation
static String buildGroupMemberChangeInfoText(V2TimGroupMemberChangeInfo? info) {
if (info == null) {
return "";
}
String res = "";
if (TencentCloudChatUtils.checkString(info.userID) != null) {
int muteTime = info.muteTime ?? 0;
String conf = "";
if (muteTime == 0) {
conf = tL10n.unmuted;
} else {
conf = tL10n.muteTime(muteTime);
}
res = "${info.userID} $conf";
}
return res;
}