toCbor method

  1. @override
CborListValue toCbor()
override

Converts the object to a CBOR object.

Implementation

@override
CborListValue toCbor() {
  return CborListValue.fixedLength([
    type.toCbor(),
    stakeCredential.toCbor(),
  ]);
}