existsProjectPackageConfigUri method
Returns true
if projectPackageConfigUri exists.
Implementation
FutureOr<bool> existsProjectPackageConfigUri() {
try {
var packagesConfigUri = projectPackageConfigUri;
return packagesConfigUri.resolveMapped((uri) {
return File.fromUri(uri).existsSync();
});
} catch (e) {
return false;
}
}