toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.done != null) {
json[r'done'] = this.done;
} else {
json[r'done'] = null;
}
if (this.next != null) {
json[r'next'] = this.next;
} else {
json[r'next'] = null;
}
if (this.percent != null) {
json[r'percent'] = this.percent;
} else {
json[r'percent'] = null;
}
if (this.total != null) {
json[r'total'] = this.total;
} else {
json[r'total'] = null;
}
return json;
}