toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.analytics != null) {
json[r'analytics'] = this.analytics;
} else {
json[r'analytics'] = null;
}
if (this.bucket != null) {
json[r'bucket'] = this.bucket;
} else {
json[r'bucket'] = null;
}
if (this.cacheControl != null) {
json[r'cacheControl'] = this.cacheControl;
} else {
json[r'cacheControl'] = null;
}
if (this.createdAt != null) {
json[r'createdAt'] = this.createdAt;
} else {
json[r'createdAt'] = null;
}
if (this.currentDeploymentId != null) {
json[r'currentDeploymentId'] = this.currentDeploymentId;
} else {
json[r'currentDeploymentId'] = null;
}
if (this.description != null) {
json[r'description'] = this.description;
} else {
json[r'description'] = null;
}
if (this.forkedFrom != null) {
json[r'forkedFrom'] = this.forkedFrom;
} else {
json[r'forkedFrom'] = null;
}
if (this.framework != null) {
json[r'framework'] = this.framework;
} else {
json[r'framework'] = null;
}
if (this.hidden != null) {
json[r'hidden'] = this.hidden;
} else {
json[r'hidden'] = null;
}
if (this.hiddenReason != null) {
json[r'hiddenReason'] = this.hiddenReason;
} else {
json[r'hiddenReason'] = null;
}
if (this.id != null) {
json[r'id'] = this.id;
} else {
json[r'id'] = null;
}
if (this.key != null) {
json[r'key'] = this.key;
} else {
json[r'key'] = null;
}
if (this.lastPurgeAt != null) {
json[r'lastPurgeAt'] = this.lastPurgeAt;
} else {
json[r'lastPurgeAt'] = null;
}
if (this.license != null) {
json[r'license'] = this.license;
} else {
json[r'license'] = null;
}
if (this.liveUrl != null) {
json[r'liveUrl'] = this.liveUrl;
} else {
json[r'liveUrl'] = null;
}
if (this.name != null) {
json[r'name'] = this.name;
} else {
json[r'name'] = null;
}
if (this.org != null) {
json[r'org'] = this.org;
} else {
json[r'org'] = null;
}
if (this.repo != null) {
json[r'repo'] = this.repo;
} else {
json[r'repo'] = null;
}
if (this.slug != null) {
json[r'slug'] = this.slug;
} else {
json[r'slug'] = null;
}
if (this.space != null) {
json[r'space'] = this.space;
} else {
json[r'space'] = null;
}
if (this.starred != null) {
json[r'starred'] = this.starred;
} else {
json[r'starred'] = null;
}
if (this.status != null) {
json[r'status'] = this.status;
} else {
json[r'status'] = null;
}
json[r'tags'] = this.tags;
if (this.updatedAt != null) {
json[r'updatedAt'] = this.updatedAt;
} else {
json[r'updatedAt'] = null;
}
if (this.upstream != null) {
json[r'upstream'] = this.upstream;
} else {
json[r'upstream'] = null;
}
if (this.visibility != null) {
json[r'visibility'] = this.visibility;
} else {
json[r'visibility'] = null;
}
return json;
}