setLocation method

void setLocation(
  1. LatLng location
)

Implementation

void setLocation(LatLng location) {
  myLocation =
      location.longitude.toString() + "_" + location.latitude.toString();
}