incrby method

Future<int> incrby(
  1. String key,
  2. int increment
)

incrby

Implementation

Future<int> incrby(String key, int increment) async {
  return await _runWithRetryNew(() async {
    return (await RespCommandsTier1(_client!).incrby(key, increment))
        .toInteger()
        .payload;
  });
}