delete method
Delete a value from the cache.
Example:
await cache.delete('user:123');
Implementation
Future<void> delete(String key, {Map<String, dynamic>? metadata}) async {
final ctx = PVCtx(
cache: this,
actionType: ActionType.delete,
initialKey: key,
initialMeta: metadata ?? {},
);
await ctx.queue(_orderedDeleteHooks);
}