dartBinPath property
String
dartBinPath
Returns dart exec file for cache version
Implementation
String get dartBinPath {
/// Get old bin path
/// Before version 1.17.5 dart path was bin/cache/dart-sdk/bin
if (hasOldBinPath) {
return join(binPath, 'cache', 'dart-sdk', 'bin');
} else {
return binPath;
}
}