decrement method

void decrement(
  1. String key,
  2. num amount
)

Atomically decrements the value of the given key with amount.

Implementation

void decrement(String key, num amount) {
  if (isNullOrEmpty(key)) {
    throw ArgumentError.notNull('key');
  }
  _LCDecrementOperation op = new _LCDecrementOperation(amount);
  _applyOperation(key, op);
}