toCbor method
Converts the object to a CBOR object.
Implementation
@override
CborObject toCbor() {
return CborListValue.fixedLength([
tag.toCbor(),
CborUnsignedValue.u64(index),
data.toCbor(),
exUnits.toCbor(),
]);
}
Converts the object to a CBOR object.
@override
CborObject toCbor() {
return CborListValue.fixedLength([
tag.toCbor(),
CborUnsignedValue.u64(index),
data.toCbor(),
exUnits.toCbor(),
]);
}