hvals method

Future<List<String?>> hvals(
  1. String key
)

Returns all values in the hash stored at key.

List of values in the hash, or an empty list when key does not exist.

Implementation

Future<List<String?>> hvals(String key) async {
  final result = (await tier1.hvals(key)).toArray().payload;
  if (result != null) {
    return result.map((e) => e.toBulkString().payload).toList(growable: false);
  }
  return [];
}