updateKey abstract method

Future<void> updateKey(
  1. String key,
  2. String newKey
)

Renames an existing cache entry from key to newKey.

Throws an exception if the original key is not found.

Implementation

Future<void> updateKey(String key, String newKey);