updateKey method

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

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.',
  );
}