writeYAML function

void writeYAML(
  1. Map<String, dynamic> yaml,
  2. String asset
)

Save the Map<String, dynamic> to a YAML file

Implementation

void writeYAML(Map<String, dynamic> yaml, String asset) =>
    File(asset).writeAsStringSync(_createYAMLLines(yaml));