ref property
QueryScopedValueRef<TRef>
ref
If Ref is passed to ScopedValue, it returns a Ref that can be referenced by descendants.
If Ref is not passed to ScopedValue, an error will result.
ScopedValueにRefが渡された場合、子孫によって参照可能なRefを返します。
ScopedValueにRefが渡されていない場合、エラーになります。
Implementation
QueryScopedValueRef<TRef> get ref {
final ref = value.ref;
assert(ref != null, "[ref] is not set.");
return QueryScopedValueRef<TRef>._(ref: ref!, state: this);
}