isInLibDir property
bool
get
isInLibDir
Whether the definingUnit's location is in a package's top-level 'lib' directory, including locations deeply nested, and locations in the package-implementation directory, 'lib/src'.
Implementation
bool get isInLibDir;