incr method

Future<int> incr(
  1. String key
)

incr

Implementation

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