updateKey method

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

Renames a cache entry from key to newKey.

Delegates to the underlying platform-specific Cache implementation. Throws if the original key is not found.

Implementation

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