serialize method
Serializes the object to a map.
Implementation
@override
Map<String, dynamic> serialize() {
return {
"name": name,
"symbol": symbol,
"uri": uri,
"sellerFeeBasisPoints": sellerFeeBasisPoints,
"primarySaleHappened": primarySaleHappened,
"isMutable": isMutable,
"editionNonce": editionNonce,
"tokenStandard": tokenStandard?.value,
"collection": collection?.serialize(),
"uses": uses?.serialize(),
"tokenProgramVersion": tokenProgramVersion.value,
"creators": creators.map((e) => e.serialize()).toList()
};
}