hvals method
hvals
Implementation
Future<List<String?>> hvals(String key) async {
Object result = await _runWithRetryNew(() async {
return (await RespCommandsTier1(_client!).hvals(key));
});
if (result is RespType2<dynamic>) {
final result1 = result.toArray().payload;
if (result1 != null) {
return result1
.map((e) => e.toBulkString().payload)
.toList(growable: false);
}
return [];
}
final result1 = (result as RespType3<dynamic>).toArray().payload;
if (result1 != null) {
return result1
.map((e) => e.toBulkString().payload)
.toList(growable: false);
}
return [];
}