toJson method
Returns a JSON representation of this object.
Implementation
Map<String, dynamic> toJson() {
return {
ApiFields.total: total,
ApiFields.page: page,
ApiFields.artCrimes: artCrimes?.map((artCrime) => artCrime.toJson()),
};
}