GeoLocation constructor

GeoLocation()

Default GeoLocation constructor will set location to the Prime Meridian at Greenwich, England and a TimeZone of GMT. The longitude will be set to 0 and the latitude will be 51.4772 to match the location of the Royal Observatory, Greenwich . No daylight savings time will be used.

Implementation

GeoLocation() {
  setLocationName("Greenwich, England");
  setLongitude(longitude: 0); // added for clarity
  setLatitude(latitude: 51.4772);
  setDateTime(DateTime.now().toUtc());
}