getLibrary abstract method

LibraryDeclaration getLibrary()

Returns the LibraryDeclaration in which this class is declared.

The library represents the physical Dart source unit that owns this class and defines its visibility, privacy boundaries, and sealing constraints.

Implementation

LibraryDeclaration getLibrary();