PubSpec.fromYamlString constructor

PubSpec.fromYamlString(
  1. String yamlString
)

Implementation

factory PubSpec.fromYamlString(String yamlString) =>
    PubSpec.fromJson(loadYaml(yamlString));