toPubspecYaml method

PubspecYaml toPubspecYaml()

Creates PubspecYaml from a YAML string

Implementation

PubspecYaml toPubspecYaml() => PubspecYaml.loadFromYamlString(this);