invalidate method
Invalidate a specific cache entry Key can be a String or Map<String, dynamic
Implementation
Future<void> invalidate(dynamic key) async {
final normalizedKey = _normalizeKey(key);
_metadata.remove(normalizedKey);
await storage.delete(normalizedKey);
}