call method
Lazily evaluates the function passed into the constructor.
Implementation
@override
T call() {
if (_val == null) {
_val = _func();
return _val!;
}
return _val!;
}
Lazily evaluates the function passed into the constructor.
@override
T call() {
if (_val == null) {
_val = _func();
return _val!;
}
return _val!;
}