PVCtx constructor
PVCtx({
- required PVCache cache,
- required ActionType actionType,
- String? initialKey,
- dynamic initialEntryValue,
- required Map<
String, dynamic> initialMeta,
Create a new context for a cache operation.
Typically created by PVCache methods, not by user code.
Implementation
PVCtx({
required this.cache,
required this.actionType,
this.initialKey,
this.initialEntryValue,
required this.initialMeta,
}) {
resolvedKey = initialKey;
resolvedMetaKey = initialMeta['key'] ?? '';
entryValue = initialEntryValue;
runtimeMeta = {};
}