Renames an existing cache entry from key to newKey.
key
newKey
Throws an exception if the original key is not found.
Future<void> updateKey(String key, String newKey);