contains method

bool contains(
  1. String geohash
)

Returns true if the given geohash is contained within this geohash

Implementation

bool contains(String geohash) {
  if (geohash.length < _geohash.length) return false;

  if (geohash.substring(0, _geohash.length) == _geohash) {
    return true;
  }

  return false;
}