Geolocation.fromJSON constructor
Geolocation.fromJSON(
- dynamic geolocationJSON
Implementation
Geolocation.fromJSON(geolocationJSON) {
this._coordinates = geolocationJSON["results"][0]["geometry"]["location"];
this.fullJSON = geolocationJSON["results"][0];
}