increment method

  1. @override
Future<int> increment(
  1. String key, [
  2. int amount = 1
])
override

Increment the value of an item in the cache.

Implementation

@override
Future<int> increment(String key, [int amount = 1]) {
  return driver().increment(key, amount);
}