getParentLibrary method

  1. @override
LibraryDeclaration getParentLibrary()
override

Returns the LibraryDeclaration in which this declaration is defined.

Useful for tracking the origin of the declaration across packages and files.

Implementation

@override
LibraryDeclaration getParentLibrary() => _library;