decrement method Null safety
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);
}