delete method
Deletes a snapshot from storage.
Parameters:
key: The key/identifier of the snapshot to delete
Returns:
A Future that completes with true if the snapshot was deleted,
false if it didn't exist.
Implementation
@override
Future<bool> delete(String key) async {
final removed = _storage.remove(key) != null;
if (removed) {
debugPrint('[Checkpoint] Deleted snapshot from memory: $key');
}
return removed;
}