geolocation property
Future<Geolocation?>
get
geolocation
Fetches the Geolocation API from Google Maps to get more information about the place, including coordinates, bounds, etc.
Learn more at Geolocation docs
Implementation
Future<Geolocation?> get geolocation async {
if (this._geolocation == null) {
this._geolocation = await _geocode.getGeolocation(description);
return _geolocation;
}
return _geolocation;
}