V2TimGroupInfo.fromJson constructor

V2TimGroupInfo.fromJson(
  1. Map<String, dynamic> json
)

Implementation

V2TimGroupInfo.fromJson(Map<String, dynamic> json) {
  groupID = json['groupID'] ?? "";
  groupType = json['groupType'];
  groupName = json['groupName'];
  notification = json['notification'];
  introduction = json['introduction'];
  faceUrl = json['faceUrl'];
  isAllMuted = json['isAllMuted'];
  owner = json['owner'];
  createTime = json['createTime'];
  groupAddOpt = json['groupAddOpt'];
  lastInfoTime = json['lastInfoTime'];
  lastMessageTime = json['lastMessageTime'];
  memberCount = json['memberCount'];
  onlineCount = json['onlineCount'];
  isSupportTopic = json["isSupportTopic"];
  role = json['role'];
  recvOpt = json['recvOpt'];
  joinTime = json['joinTime'];
  customInfo = json['customInfo'] == null
      ? <String, String>{}
      : Map<String, String>.from(json['customInfo']);
}