toJSON method
Implementation
@override
toJSON() {
final Map<String, dynamic> json = {};
json["skip"] = skip;
json["take"] = take;
json["orderBy"] = orderBy;
json["orderType"] = orderType;
for (final field in fields) {
json[field.name] = field.toJSON();
}
return json;
}