toMap method

Map toMap ()

LatLng => map

Implementation

Map toMap() {
  return {"latitude": latitude, "longitude": longitude};
}