V2TimGroupInfo.fromJson constructor
V2TimGroupInfo.fromJson(
- Map json
Implementation
V2TimGroupInfo.fromJson(Map json) {
json = Utils.formatJson(json);
approveOpt = json["approveOpt"];
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"];
isEnablePermissionGroup = json["isEnablePermissionGroup"] ?? false;
role = json['role'];
recvOpt = json['recvOpt'];
joinTime = json['joinTime'];
customInfo = json['customInfo'] == null
? <String, String>{}
: Map<String, String>.from(json['customInfo']);
memberMaxCount = json['memberMaxCount'] ?? 0;
defaultPermissions = json['defaultPermissions'] ?? 0;
}