toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.enqueuedAt != null) {
json[r'enqueuedAt'] = this.enqueuedAt;
} else {
json[r'enqueuedAt'] = null;
}
if (this.finishedAt != null) {
json[r'finishedAt'] = this.finishedAt;
} else {
json[r'finishedAt'] = 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;
}
if (this.type != null) {
json[r'type'] = this.type;
} else {
json[r'type'] = null;
}
if (this.uid != null) {
json[r'uid'] = this.uid;
} else {
json[r'uid'] = null;
}
return json;
}