toJson method
Implementation
Map<String, dynamic> toJson() {
final coordinates = this.coordinates;
final rangeInKilometers = this.rangeInKilometers;
return {
'Coordinates': coordinates,
if (rangeInKilometers != null) 'RangeInKilometers': rangeInKilometers,
};
}