call method
Lazily evaluates the function passed into the constructor.
Implementation
@override
@pragma("vm:prefer-inline")
T call() {
if (_val == null) {
_val = _func();
return _val!;
}
return _val!;
}
Lazily evaluates the function passed into the constructor.
@override
@pragma("vm:prefer-inline")
T call() {
if (_val == null) {
_val = _func();
return _val!;
}
return _val!;
}