toBorsh method
Implementation
Uint8List toBorsh() {
final writer = BinaryWriter();
const BFixedString(32).write(writer, name);
const BFixedString(10).write(writer, symbol);
const BFixedString(200).write(writer, uri);
const BU16().write(writer, sellerFeeBasisPoints);
const BOption(BArray(BMetadataCreator())).write(writer, creators);
const BOption(BMetadataCollection()).write(writer, collection);
const BOption(BMetadataUses()).write(writer, uses);
const BBool().write(writer, isMutable);
const BBool().write(writer, colectionDetails);
return writer.toArray();
}