toBorsh method
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();
}
Uint8List toBorsh() {
final writer = BinaryWriter();
const BU8().write(writer, key);
const BU64().write(writer, supply);
const BOption(BU64()).write(writer, maxSupply);
return writer.toArray();
}