MaceRecordSerializer class final
Serializes a v2 Record as a canonical multiline Mace document frame.
Concatenating frames produces a balanced-document sequence. Mace has no nested null representation, so null attributes and null list entries are omitted; keys are sanitized and sorted canonically.
- Implemented types
Constructors
- MaceRecordSerializer()
-
Creates a canonical multiline Mace 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 canonical multiline Mace document 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