toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.id != null) {
json[r'id'] = this.id;
} else {
json[r'id'] = null;
}
if (this.note != null) {
json[r'note'] = this.note;
} else {
json[r'note'] = null;
}
if (this.reason != null) {
json[r'reason'] = this.reason;
} else {
json[r'reason'] = null;
}
if (this.stage != null) {
json[r'stage'] = this.stage;
} else {
json[r'stage'] = null;
}
return json;
}