YamlWriterConfig class

Configuration for YamlWriter.

Constructors

YamlWriterConfig.new({int indentSize = 2, QuoteStyle quoteStyle = QuoteStyle.doubleQuote, bool forceQuotedString = false})
const

Properties

forceQuotedString bool
If true, it will force quoting of strings. If false, strings could be left unquoted if possible.
final
hashCode int
The hash code for this object.
no setterinherited
indentSize int
The indentation size. Must be greater or equal to 1.
final
quoteStyle QuoteStyle
The quote to be used for quoting strings. Defaults to QuoteStyle.doubleQuote, because single quotes are often used as apostrophes.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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