PubSpec.fromScript constructor
PubSpec.fromScript(
- DartScript script
Reads a pubspec.yaml from the path that script
is located in.
Implementation
PubSpec.fromScript(DartScript script) {
_fromFile(script.pathToPubSpec);
}