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