isDownloaded method
True when the SDK is downloaded
Implementation
bool isDownloaded() {
if (!dartSdkPath.existsSync()) {
return false;
}
if (!dartSdkPath.file('bin/dart').existsSync()) {
return false;
}
return true;
}
True when the SDK is downloaded
bool isDownloaded() {
if (!dartSdkPath.existsSync()) {
return false;
}
if (!dartSdkPath.file('bin/dart').existsSync()) {
return false;
}
return true;
}