toJson method
Implementation
Map<String, dynamic> toJson() => {
"payment_tokens": paymentTokens == null
? null
: List<dynamic>.from(paymentTokens!.map((x) => x.toJson())),
"primary_asset_contracts": primaryAssetContracts == null
? null
: List<dynamic>.from(primaryAssetContracts!.map((x) => x.toJson())),
"traits": traits?.toJson(),
"stats": stats == null
? null
: Map.from(stats!).map((k, v) => MapEntry<String, dynamic>(k, v)),
"banner_image_url": bannerImageUrl,
"chat_url": chatUrl,
"created_date": createdDate?.toIso8601String(),
"default_to_fiat": defaultToFiat,
"description": description,
"dev_buyer_fee_basis_points": devBuyerFeeBasisPoints,
"dev_seller_fee_basis_points": devSellerFeeBasisPoints,
"discord_url": discordUrl,
"display_data": displayData?.toJson(),
"external_url": externalUrl,
"featured": featured,
"featured_image_url": featuredImageUrl,
"hidden": hidden,
"safelist_request_status": safelistRequestStatus,
"image_url": imageUrl,
"is_subject_to_whitelist": isSubjectToWhitelist,
"large_image_url": largeImageUrl,
"medium_username": mediumUsername,
"name": name,
"only_proxied_transfers": onlyProxiedTransfers,
"opensea_buyer_fee_basis_points": openseaBuyerFeeBasisPoints,
"opensea_seller_fee_basis_points": openseaSellerFeeBasisPoints,
"payout_address": payoutAddress,
"require_email": requireEmail,
"short_description": shortDescription,
"slug": slug,
"telegram_url": telegramUrl,
"twitter_username": twitterUsername,
"instagram_username": instagramUsername,
"wiki_url": wikiUrl,
};