toJson method
Returns a JSON representation of this ShortTermParking object.
Implementation
Map<String, dynamic> toJson() {
return {
ApiFields.totalCount: totalSpaces,
ApiFields.notes: notes,
};
}
Returns a JSON representation of this ShortTermParking object.
Map<String, dynamic> toJson() {
return {
ApiFields.totalCount: totalSpaces,
ApiFields.notes: notes,
};
}