ModelElement enclosingElement

Returns the library that encloses this element.

Source

@override
ModelElement get enclosingElement => library;