markGone method
Marks a record as deleted or permanently gone.
Implementation
void markGone(String key, {List<String> cacheTags = const []}) {
final existing = _store[key];
if (existing != null) {
existing.data = null;
existing.isGone = true;
existing.lastModified = DateTime.now().toUtc();
} else {
_store[key] = _MemoryRecord<T>(
data: null,
lastModified: DateTime.now().toUtc(),
isGone: true,
cacheTags: cacheTags,
);
}
}