serialize method
Serializes the object to a map.
Implementation
@override
Map<String, dynamic> serialize() {
return {
"discriminator": _Utils.discriminator,
"authority": authority,
"wallet": wallet,
"tokenMint": tokenMint,
"config": config,
"candyMachineData": data.serialize(),
"itemsRedeemed": itemsRedeemed,
"bump": bump
};
}