getAbsRef static method
ref anchored to parentRef (which must be absolute); a missing
ref (a <group> without binding) means the parent itself.
Port of FormDef.getAbsRef.
Implementation
static TreeReference getAbsRef(TreeReference? ref, TreeReference parentRef) {
if (!parentRef.isAbsolute) {
throw StateError('XFormParser.getAbsRef: parentRef must be absolute');
}
return (ref ?? const TreeReference.self()).anchor(parentRef);
}