toMap method

Map<String, double> toMap()

Implementation

Map<String, double> toMap() {
  return {
    "lon": longitude,
    "lat": latitude,
  };
}