PubspecYaml.loadFromYamlString constructor
PubspecYaml.loadFromYamlString(
- String content
Imports PubspecYaml from a YAML string
Implementation
factory PubspecYaml.loadFromYamlString(String content) {
assert(content.trim().isNotEmpty, 'content must not be empty');
return _loadFromYaml(content);
}