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