workspaceRoot property
Package
get
workspaceRoot
The root package this entrypoint is associated with.
For a global package, this is the activated package.
Implementation
Package get workspaceRoot => _getPackages.root;