groupMemberInfo2dartGroupMemberInfo static method
V2TimGroupMemberInfo
groupMemberInfo2dartGroupMemberInfo(
- dynamic jsonGroupMemberInfo
Implementation
static V2TimGroupMemberInfo groupMemberInfo2dartGroupMemberInfo(dynamic jsonGroupMemberInfo) {
if (jsonGroupMemberInfo == null) {
return V2TimGroupMemberInfo();
}
return V2TimGroupMemberInfo.fromJson(Map<String, dynamic>.from({
"userID": jsonGroupMemberInfo["group_member_info_identifier"],
"nickName": jsonGroupMemberInfo["group_member_info_nick_name"],
"nameCard": jsonGroupMemberInfo["group_member_info_name_card"],
"friendRemark": jsonGroupMemberInfo["group_member_info_remark"],
"faceUrl": jsonGroupMemberInfo["group_member_info_face_url"],
}));
}