call method
T
call()
Returns the previously evaluated asynchronous value of the function passed into the constructor. Will panic if the value has not yet been evaluated. Prefer force for safer context.
Implementation
@pragma("vm:prefer-inline")
T call() {
if (!_isSet) {
panic(
"Cannot get the result of an async LazyCell synchronously if the value has not yet been computed asynchronously.");
}
return _val!;
}