geoHash method

Future<List<String?>> geoHash(
  1. String key,
  2. List<Object> members
)

geoHash

Implementation

Future<List<String?>> geoHash(String key, List<Object> members) async {
  return await _runWithRetryNew(() async {
    final result = (await RespCommandsTier1(_client!).geoHash(key, members))
        .toArray()
        .payload;

    if (result != null) {
      return result
          .map((e) => e.toBulkString().payload)
          .toList(growable: false);
    }
    return [];
  });
}