getYaml method

Map getYaml(
  1. String path
)

Implementation

Map<dynamic, dynamic> getYaml(String path) {
  final File file = File(path);
  final String yamlString = file.readAsStringSync();
  return loadYaml(yamlString);
}