toJson method
Implementation
Map<String, Object?> toJson() {
var results = this.results;
var size = this.size;
var start = this.start;
var limit = this.limit;
final json = <String, Object?>{};
json[r'results'] = results.map((i) => i.toJson()).toList();
json[r'size'] = size;
if (start != null) {
json[r'start'] = start;
}
if (limit != null) {
json[r'limit'] = limit;
}
return json;
}