decrement method

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

Decrement the value of an item in the cache.

Implementation

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