PubSpec.fromString constructor
PubSpec.fromString(
- String yamlString
parses a pubspec from a yaml string.
Implementation
factory PubSpec.fromString(String yamlString) {
final impl = PubSpec._internal()
..pubspec = pub.PubSpec.fromYamlString(yamlString);
return impl;
}