toJson method
Implementation
Map<String, dynamic> toJson() {
final _json = <String, dynamic>{};
if (id != null) {
_json[r'id'] = id;
}
if (createAt != null) {
_json[r'create_at'] = createAt;
}
if (updateAt != null) {
_json[r'update_at'] = updateAt;
}
if (deleteAt != null) {
_json[r'delete_at'] = deleteAt;
}
if (displayName != null) {
_json[r'display_name'] = displayName;
}
if (name != null) {
_json[r'name'] = name;
}
if (description != null) {
_json[r'description'] = description;
}
if (email != null) {
_json[r'email'] = email;
}
if (type != null) {
_json[r'type'] = type;
}
if (allowedDomains != null) {
_json[r'allowed_domains'] = allowedDomains;
}
if (inviteId != null) {
_json[r'invite_id'] = inviteId;
}
if (allowOpenInvite != null) {
_json[r'allow_open_invite'] = allowOpenInvite;
}
if (policyId != null) {
_json[r'policy_id'] = policyId;
}
return _json;
}