toBorsh method

Uint8List toBorsh()
inherited

Implementation

Uint8List toBorsh() {
  final writer = BinaryWriter();

  const BU8().write(writer, key);
  const BU64().write(writer, supply);
  const BOption(BU64()).write(writer, maxSupply);

  return writer.toArray();
}