
Dart is migrating to .dart_tool/ as the location for cached artifacts and other temporary files generated by tooling in the SDK. As part of this, pub will be migrating from .pub to .dart_tool/pub. In future, this path will also be used for other tooling, such as package:build.
Flutter tools
Tools for building Flutter applications.
To run the tests, ensure that no devices are connected,
then navigate to flutter_tools
and execute:
../../bin/cache/dart-sdk/bin/pub run test -j1