toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.bucket != null) {
json[r'bucket'] = this.bucket;
} else {
json[r'bucket'] = null;
}
if (this.bytes != null) {
json[r'bytes'] = this.bytes;
} else {
json[r'bytes'] = null;
}
if (this.commit != null) {
json[r'commit'] = this.commit;
} else {
json[r'commit'] = null;
}
if (this.createdAt != null) {
json[r'createdAt'] = this.createdAt;
} else {
json[r'createdAt'] = null;
}
if (this.files != null) {
json[r'files'] = this.files;
} else {
json[r'files'] = null;
}
if (this.id != null) {
json[r'id'] = this.id;
} else {
json[r'id'] = null;
}
if (this.liveUrl != null) {
json[r'liveUrl'] = this.liveUrl;
} else {
json[r'liveUrl'] = null;
}
if (this.message != null) {
json[r'message'] = this.message;
} else {
json[r'message'] = null;
}
if (this.prefix != null) {
json[r'prefix'] = this.prefix;
} else {
json[r'prefix'] = null;
}
if (this.projectId != null) {
json[r'projectId'] = this.projectId;
} else {
json[r'projectId'] = null;
}
if (this.source_ != null) {
json[r'source'] = this.source_;
} else {
json[r'source'] = null;
}
if (this.status != null) {
json[r'status'] = this.status;
} else {
json[r'status'] = null;
}
if (this.updatedAt != null) {
json[r'updatedAt'] = this.updatedAt;
} else {
json[r'updatedAt'] = null;
}
if (this.upload != null) {
json[r'upload'] = this.upload;
} else {
json[r'upload'] = null;
}
if (this.version != null) {
json[r'version'] = this.version;
} else {
json[r'version'] = null;
}
return json;
}