latLng method

dynamic latLng({
  1. required double lat,
  2. required double lng,
  3. bool updateView = false,
})

Implementation

latLng({required double lat, required double lng, bool updateView = false}) {
  if (obs != null && obs?.value is GoogleMapsResponse) {
    obs!.value.lat = lat;
    obs!.value.lng = lng;
    obs!.value.updateView = updateView;
    obs!.add(obs!.value);
  }
}