toCbor method
Converts the object to a CBOR object.
Implementation
@override
CborObject toCbor() {
return CborMapValue.fixedLength({
for (final i in assets.entries)
i.key.toCbor(): CborSignedValue.i64(i.value)
});
}
Converts the object to a CBOR object.
@override
CborObject toCbor() {
return CborMapValue.fixedLength({
for (final i in assets.entries)
i.key.toCbor(): CborSignedValue.i64(i.value)
});
}