toJson method

Map<String, dynamic> toJson()

Implementation

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