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