librarySource property

  1. @override
Source get librarySource
inherited

If this target is associated with a library, return the source of the library's defining compilation unit; otherwise return null.

Implementation

@override
Source get librarySource => library.source;