sadd method

Future<int> sadd(
  1. String key,
  2. List<Object> values
)

------------------------------ Set ------------------------------ sadd

Implementation

/// sadd
Future<int> sadd(String key, List<Object> values) async {
  return await _runWithRetryNew(() async {
    return (await RespCommandsTier1(_client!).sadd(key, values))
        .toInteger()
        .payload;
  });
}