toCbor method
Converts the object to a CBOR object.
Implementation
@override
CborObject toCbor() {
final Map<CborObject, CborObject> cborValues = {};
for (final entry in value.entries) {
cborValues.addAll({entry.key.toCbor(false): entry.value.toCbor(false)});
}
return CborMapValue.fixedLength(cborValues);
}