saveFileYaml static method

void saveFileYaml(
  1. String path,
  2. Map map
)

Implementation

static void saveFileYaml(String path, Map map) {
  final yaml = YamlWriter().write(map);
  path.write(yaml);
}