toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = <String, dynamic>{};
  data['groupID'] = groupID;
  data['groupType'] = groupType;
  data['groupName'] = groupName;
  data['notification'] = notification;
  data['introduction'] = introduction;
  data['faceUrl'] = faceUrl;
  data['isAllMuted'] = isAllMuted;
  data['owner'] = owner;
  data['createTime'] = createTime;
  data['groupAddOpt'] = groupAddOpt;
  data['lastInfoTime'] = lastInfoTime;
  data['lastMessageTime'] = lastMessageTime;
  data['memberCount'] = memberCount;
  data['onlineCount'] = onlineCount;
  data['role'] = role;
  data['recvOpt'] = recvOpt;
  data['joinTime'] = joinTime;
  data['customInfo'] = customInfo;
  data['isSupportTopic'] = isSupportTopic;
  data["approveOpt"] = approveOpt;
  return data;
}