geoDist method
geoDist
Implementation
Future<String?> geoDist(String key, String member1, String member2,
[String? unit]) async {
Object result = await _runWithRetryNew(() async {
return (await RespCommandsTier1(_client!)
.geoDist(key, member1, member2, unit));
});
if (result is RespType2<dynamic>) {
return result.toSimpleString().payload;
}
return (result as RespType3<dynamic>).toSimpleString().payload;
}