toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.commit != null) {
json[r'commit'] = this.commit;
} else {
json[r'commit'] = null;
}
if (this.duration != null) {
json[r'duration'] = this.duration;
} else {
json[r'duration'] = null;
}
if (this.id != null) {
json[r'id'] = this.id;
} else {
json[r'id'] = null;
}
if (this.repo != null) {
json[r'repo'] = this.repo;
} else {
json[r'repo'] = null;
}
if (this.startedAt != null) {
json[r'startedAt'] = this.startedAt;
} else {
json[r'startedAt'] = null;
}
if (this.status != null) {
json[r'status'] = this.status;
} else {
json[r'status'] = null;
}
return json;
}