toCbor method

  1. @override
CborObject toCbor()
override

Converts the object to a CBOR object.

Implementation

@override
CborObject toCbor() {
  return CborMapValue.fixedLength(
      {for (final i in mints) i.policyID.toCbor(): i.assets.toCbor()});
}