resolveFuture property
Future?
get
resolveFuture
Resolves the actual Future that will define this node content.
Implementation
Future? get resolveFuture {
if (_resolvedFuture != null) return _resolvedFuture;
if (future != null) {
_resolvedFuture = future;
} else if (function != null) {
_resolvedFuture = function!();
}
if (_resolvedFuture == null) {
throw StateError("Can't resolve Future!");
}
return _resolvedFuture;
}