PVCacheHook constructor
PVCacheHook({})
Creates a new cache hook.
eventFlow and hookFunction are required. All other parameters are optional.
Implementation
PVCacheHook({
this.eventString,
required this.eventFlow,
this.priority = 0,
this.actionTypes = const [
ActionType.put,
ActionType.get,
ActionType.delete,
ActionType.clear,
ActionType.exists,
],
required this.hookFunction,
});