YamlMapWriter class

Constructors

YamlMapWriter({StringSink? destination, int? indentation, bool omitFirstIndent = false, bool writeNullEntries = false})

Properties

hashCode int
The hash code for this object.
no setterinherited
omitFirstIndent bool
true if indentation on the first written field should be omitted
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
writeNullEntries bool
true if null entries should be written. false if they should be omitted from the output entirely.
final

Methods

newline() → void
Writes a newline
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
writeBool(String key, bool? value) → void
writeComment(String comment) → void
Writes a comment. The provided string can be multiline.
inherited
writeDate(String key, DateTime? value) → void
writeList(String key, ListWriteDelegate delegate) → void
writeMap(String key, ObjectWriteDelegate delegate) → void
writeNumber(String key, num? value) → void
writeString(String key, String? value, {bool multiline = false, bool? quoted}) → void

Operators

operator ==(Object other) bool
The equality operator.
inherited