updateKey method
Renames an existing cache entry from key
to newKey
.
Throws an exception if the original key
is not found.
Implementation
@override
Future<void> updateKey(String key, String newKey) {
throw UnimplementedError(
'Cache is not available in your current platform.',
);
}