V2TimUserFullInfo.fromJson constructor

V2TimUserFullInfo.fromJson(
  1. Map json
)

Implementation

V2TimUserFullInfo.fromJson(Map json) {
  json = Utils.formatJson(json);
  userID = json['userID'] ?? "";
  nickName = json['nickName'];
  faceUrl = json['faceUrl'];
  selfSignature = json['selfSignature'];
  gender = json['gender'];
  allowType = json['allowType'];
  customInfo = json['customInfo'] == null
      ? <String, String>{}
      : Map<String, String>.from(json['customInfo']);
  role = json['role'];
  level = json['level'];
  birthday = json['birthday'];
}