baseToYamlString method
Implementation
String baseToYamlString({
int indentSize = 4,
bool allowUnquotedStrings = true,
}) {
YAMLWriter _yamlWriter = YAMLWriter(indentSize: indentSize, allowUnquotedStrings: allowUnquotedStrings);
return FormatterErrorA.tryAndRethrow(
() => _yamlWriter.write(baseToJson())
);
}