enclosingElement property

ModelElement enclosingElement

Implementation

@override
ModelElement get enclosingElement => (element.enclosingElement != null)
    ? ModelElement.from(element.enclosingElement, library, packageGraph)
    : null;