hmset method

Future<RespType> hmset(
  1. String key,
  2. Map<String, String> keysAndValues
)

Implementation

Future<RespType> hmset(String key, Map<String, String> keysAndValues) async {
  return tier0.execute([
    'HMSET',
    key,
    ...keysAndValues.entries.expand((e) => [e.key, e.value]),
  ]);
}