library property Null safety

LibraryElement? library

Return the library that contains this element. This will be the element itself if it is a library element. This will be null if this element is MultiplyDefinedElement that is not contained in a library.

Implementation

LibraryElement? get library;