neighbor method

String neighbor(
  1. Direction direction
)

Returns a String geohash of a neighboring geohash in a given direction

Implementation

String neighbor(Direction direction) {
  return _neighbors[direction.toString().split(".")[1]]!;
}