toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.activeCount != null) {
json[r'activeCount'] = this.activeCount;
} else {
json[r'activeCount'] = null;
}
if (this.inactiveCount != null) {
json[r'inactiveCount'] = this.inactiveCount;
} else {
json[r'inactiveCount'] = null;
}
if (this.activeCreatedByMeCount != null) {
json[r'activeCreatedByMeCount'] = this.activeCreatedByMeCount;
} else {
json[r'activeCreatedByMeCount'] = null;
}
if (this.activeDueIn30Days != null) {
json[r'activeDueIn30Days'] = this.activeDueIn30Days;
} else {
json[r'activeDueIn30Days'] = null;
}
json[r'list'] = this.list;
return json;
}