Geolocation.fromJSON constructor

Geolocation.fromJSON(
  1. dynamic geolocationJSON
)

Implementation

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