ensureProjectDependenciesResolved method
Ensures that projectDirectory has the dependencies resolved.
If not resolved runs dart pub get
, calling runDartPubGet.
Implementation
Future<bool> ensureProjectDependenciesResolved() async {
var resolved = await existsProjectPackageConfigUri();
if (resolved) {
return true;
}
return runDartPubGet();
}