toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.activity != null) {
json[r'activity'] = this.activity;
} else {
json[r'activity'] = null;
}
if (this.at != null) {
json[r'at'] = this.at;
} else {
json[r'at'] = null;
}
if (this.estimated != null) {
json[r'estimated'] = this.estimated;
} else {
json[r'estimated'] = null;
}
if (this.pct != null) {
json[r'pct'] = this.pct;
} else {
json[r'pct'] = null;
}
if (this.phase != null) {
json[r'phase'] = this.phase;
} else {
json[r'phase'] = null;
}
return json;
}