ComputationCache<K, V> constructor
ComputationCache<K, V> ({})
Implementation
ComputationCache(
{bool memoized = true,
bool assertIdempotent = true,
void Function(V value)? dispose,
void Function()? onCancel})
: _memoized = memoized,
_assertIdempotent = assertIdempotent,
_dispose = dispose,
_onCancel = onCancel;