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