enclosingUnit property

CompilationUnitElementImpl get enclosingUnit
inherited

Return the enclosing unit element (which might be the same as this), or null if this element is not contained in any compilation unit.

Implementation

CompilationUnitElementImpl get enclosingUnit {
  return _enclosingElement3!.enclosingUnit;
}