getMultiCachedNullable method

V? getMultiCachedNullable(
  1. K key,
  2. C context,
  3. M cacheInstantiator(),
  4. V? computer(),
)

Implementation

V? getMultiCachedNullable(K key, C context, M Function() cacheInstantiator,
    V? Function() computer) {
  var (o, cache) = _getIfCached(key, context, cacheInstantiator);
  if (o != null) return o;

  return cache.getCachedNullable(key, computer);
}