getMultiCachedAsyncNullable method
FutureOr<V?>
getMultiCachedAsyncNullable(
- K key,
- C context,
- M cacheInstantiator(),
- FutureOr<
V?> computer(),
Implementation
FutureOr<V?> getMultiCachedAsyncNullable(
K key,
C context,
M Function() cacheInstantiator,
FutureOr<V?> Function() computer,
) {
var (o, cache) = _getIfCached(key, context, cacheInstantiator);
if (o != null) return o;
return cache.getCachedAsyncNullable(key, computer);
}