pathToPackage method
Returns the path to the package in .pub-cache for the dart
project named packageName
for the version version
.
e.g.
~/.pub-cache/hosted/pub.dartlang.org/dswitch-4.0.1
Implementation
String pathToPackage(String packageName, String version) =>
join(pathToDartLang, '$packageName-$version');