call method
Lazily evaluates the function passed into the constructor.
Implementation
@override
T call() {
T? result = _cache[this] as T?;
if (result != null) return result;
result = _func();
_cache[this] = result;
return result;
}
Lazily evaluates the function passed into the constructor.
@override
T call() {
T? result = _cache[this] as T?;
if (result != null) return result;
result = _func();
_cache[this] = result;
return result;
}