toCbor method
Converts the object to a CBOR object.
Implementation
@override
CborListValue toCbor() {
return CborListValue.definite([
type.toCbor(),
votingCredential.toCbor(),
anchor?.toCbor() ?? const CborNullValue(),
]);
}
Converts the object to a CBOR object.
@override
CborListValue toCbor() {
return CborListValue.definite([
type.toCbor(),
votingCredential.toCbor(),
anchor?.toCbor() ?? const CborNullValue(),
]);
}