writeYamlString method

void writeYamlString(
  1. dynamic node,
  2. StringSink sink
)

Serializes node into a String and writes it to the sink.

Implementation

void writeYamlString(dynamic node, StringSink sink) {
  _writeYamlString(node, 0, sink, true, false);
}