setReference method

void setReference(
  1. String name,
  2. Reference reference
)

Implementation

void setReference(String name, Reference reference) {
  if (getParent(name) == null) {
    _referenceMap[name] = reference;
  }
}