incrementBy method

Future<RedisReply> incrementBy(
  1. String key,
  2. int amount
)

INCRBY - Increment a key with the amount

Implementation

Future<RedisReply> incrementBy(String key, int amount) async {
  return command('INCRBY', [key, '$amount']);
}