enclosingElement property

  1. @override
ModelElement? get enclosingElement
override

Returns the library that encloses this element.

Implementation

@override
ModelElement? get enclosingElement => library;