GeoHash.fromDecimalDegrees constructor
Constructor given Longitude and Latitude
Implementation
GeoHash.fromDecimalDegrees(
double longitude,
double latitude, {
int precision = 9,
}) {
_geohash = GeoHasher().encode(longitude, latitude, precision: precision);
_neighbors = GeoHasher().neighbors(_geohash);
_longitude = longitude;
_latitude = latitude;
}