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