YamlMapWriter constructor
YamlMapWriter({
- StringSink? destination,
- int? indentation,
- bool omitFirstIndent = false,
- bool writeNullEntries = false,
Implementation
YamlMapWriter({
StringSink? destination,
int? indentation,
this.omitFirstIndent = false,
this.writeNullEntries = false,
}) : super(destination: destination, indentation: indentation) {
_scalarWriter =
YamlScalarWriter(destination: _sink, indentation: _indentation + 2);
}