toYamlString method

String toYamlString()

Serialises this config to a YAML string.

Implementation

String toYamlString() {
  final editor = YamlEditor('');
  editor.update([], {
    'output_dir': outputDir,
    'theme': theme,
    'installed': installed,
  });
  return editor.toString();
}