toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.status != null) {
json[r'status'] = this.status;
} else {
json[r'status'] = null;
}
if (this.result != null) {
json[r'result'] = this.result;
} else {
json[r'result'] = null;
}
if (this.failure != null) {
json[r'failure'] = this.failure;
} else {
json[r'failure'] = null;
}
if (this.progress != null) {
json[r'progress'] = this.progress;
} else {
json[r'progress'] = null;
}
return json;
}