TomlRecordSerializer class final

Serializes a v2 Record as a TOML array-of-tables event frame.

Concatenating frames keeps the artifact one valid TOML document. TOML has no null literal, so null attributes and null list entries are recursively omitted.

Implemented types

Constructors

TomlRecordSerializer()
Creates a TOML event 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 record as one TOML array-of-tables event frame.
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