use<T> method
Gets the instance of the business logic component referenced by ref
.
Cannot be called while building a widget.
Implementation
T use<T>(LogicRef<T> ref) {
assert(!debugDoingBuild, 'Cannot call use() while building a widget.');
return readScope().use(ref);
}