readYamlFile function

Map readYamlFile(
  1. String yamlFilePath
)

Implementation

Map readYamlFile(String yamlFilePath) {
  final File yamlFile = File(yamlFilePath);
  final Map yamlData = loadYaml(yamlFile.readAsStringSync());

  return yamlData;
}