increment abstract method

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

Increment the value of an item in the cache.

Implementation

Future<int> increment(String key, [int amount = 1]);