dartTool property
The .dart_tool directory is used to store built artifacts and caches.
$rootPackageRoot/.dart_tool/
.
Each package should only modify the subfolder of .dart_tool/
with its
own name.
https://dart.dev/tools/pub/package-layout#project-specific-caching-for-tools
Implementation
late final Uri dartTool = rootPackageRoot.resolve('.dart_tool/');