V2TimGroupMemberInfo.fromJson constructor

V2TimGroupMemberInfo.fromJson(
  1. Map json
)

Implementation

V2TimGroupMemberInfo.fromJson(Map json) {
  json = Utils.formatJson(json);
  userID = json['userID'] ?? "";
  nickName = json['nickName'];
  nameCard = json['nameCard'];
  friendRemark = json['friendRemark'];
  faceUrl = json['faceUrl'];
  onlineDevices = List<String>.from(json["onlineDevices"] ?? []);
}