YamlRecordSerializer class final
Serializes a v2 Record as a YAML document frame.
Every frame begins with --- and ends with a newline, so concatenating
frames produces a valid multi-document YAML stream. Null attributes are
preserved and multiline strings use format-native YAML representations.
- Implemented types
Constructors
- YamlRecordSerializer()
-
Creates a YAML document serializer.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
encode(
Record record) → String -
Encodes
recordas one YAML document frame beginning with---.override -
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