canonicalEnclosingContainer property

Container? get canonicalEnclosingContainer

Implementation

Container? get canonicalEnclosingContainer {
  if (!_canonicalEnclosingContainerIsSet) {
    _canonicalEnclosingContainer = computeCanonicalEnclosingContainer();
    _canonicalEnclosingContainerIsSet = true;
    assert(_canonicalEnclosingContainer == null ||
        _canonicalEnclosingContainer!.isDocumented);
  }
  return _canonicalEnclosingContainer;
}