toMap method

Map<String, double> toMap()

Implementation

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