GeoHash.encode constructor

GeoHash.encode(
  1. double latitude,
  2. double longitude, {
  3. int precision = 9,
  4. int bits = 5,
  5. String? alphabet,
})

Encodes latitude/longitude and create an object

Implementation

factory GeoHash.encode(double latitude, double longitude,
        {int precision = 9, int bits = 5, String? alphabet}) =>
    _GeoHasher.encode(latitude, longitude, precision, bits, alphabet);