increment method Null safety
Atomically increments the value of the given key
with amount
.
Implementation
void increment(String key, num amount) {
if (isNullOrEmpty(key)) {
throw ArgumentError.notNull('key');
}
_LCIncrementOperation op = new _LCIncrementOperation(amount);
_applyOperation(key, op);
}