YamlWriter class

Constructors

YamlWriter({int spaces = 2})
Initialize the writer with the amount of spaces per level.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spaces int
The amount of spaces for each level.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
write(dynamic yaml) String
Write a dart structure to a YAML string. yaml should be a Map or List.

Operators

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