toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.offset != null) {
json[r'offset'] = this.offset;
} else {
json[r'offset'] = null;
}
if (this.sort != null) {
json[r'sort'] = this.sort;
} else {
json[r'sort'] = null;
}
if (this.pageNumber != null) {
json[r'pageNumber'] = this.pageNumber;
} else {
json[r'pageNumber'] = null;
}
if (this.pageSize != null) {
json[r'pageSize'] = this.pageSize;
} else {
json[r'pageSize'] = null;
}
if (this.paged != null) {
json[r'paged'] = this.paged;
} else {
json[r'paged'] = null;
}
if (this.unpaged != null) {
json[r'unpaged'] = this.unpaged;
} else {
json[r'unpaged'] = null;
}
return json;
}