hget method

Future<String?> hget(
  1. String key,
  2. String field
)

Returns the value associated with field in the hash stored at key.

The value associated with field, or nil when field is not present in the hash or key does not exist.

Implementation

Future<String?> hget(String key, String field) async {
  return (await tier1.hget(key, field)).toBulkString().payload;
}