YamlWriter class
YAML Writer.
Constructors
- YamlWriter({int indentSize = 2, bool allowUnquotedStrings = false, Object? toEncodable(dynamic object)?})
Properties
- allowUnquotedStrings → bool
-
If
true
it will allow unquoted strings.final - hashCode → int
-
The hash code for this object.
no setterinherited
- indentSize → int
-
The indentation size.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- toEncodable → Object? Function(dynamic object)
-
Used to convert objects to an encodable version.
final
Methods
-
bind(
Stream< Object?> stream) → Stream<String> -
Transforms the provided
stream
.inherited -
cast<
RS, RT> () → Converter< RS, RT> -
Provides a
Converter<RS, RT>
view of this stream transformer.inherited -
convert(
Object? input) → String -
Converts
input
to an YAML document as String.override -
fuse<
TT> (Converter< String, TT> other) → Converter<Object?, TT> -
Fuses
this
withother
.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
startChunkedConversion(
Sink< String> sink) → Sink<Object?> -
Starts a chunked conversion.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
write(
Object? object) → String -
Writes
object
to an YAML document as String.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited