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,
"creators": creators?.map((e) => e.serialize()).toList()
};
}