toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.filter != null) {
json[r'filter'] = this.filter;
} else {
json[r'filter'] = null;
}
if (this.limit != null) {
json[r'limit'] = this.limit;
} else {
json[r'limit'] = null;
}
if (this.offset != null) {
json[r'offset'] = this.offset;
} else {
json[r'offset'] = null;
}
if (this.q != null) {
json[r'q'] = this.q;
} else {
json[r'q'] = null;
}
return json;
}