ReposConfig.read constructor
ReposConfig.read(
- String yamlPath
Implementation
factory ReposConfig.read(String yamlPath) {
final yamlString = readTextFile(yamlPath);
final yaml = loadYamlDocument(yamlString, sourceUrl: Uri.parse(yamlPath));
return ReposConfig.fromYaml(yaml.contents as YamlMap);
}