toJson method
Returns a JSON representation of this object.
Implementation
Map<String, dynamic> toJson() {
return {
ApiFields.code: stationCode,
ApiFields.notes: notes,
ApiFields.allDayParking: allDayParking.toJson(),
ApiFields.shortTermParking: shortTermParking.toJson(),
};
}