toJson method
Implementation
Map<String, dynamic> toJson() => {
"microPricing": microPricing == null ? null : microPricing.toJson(),
"price": price == null ? null : price,
"duration": duration == null ? null : duration,
"currency": currency == null ? null : currency,
"currencySymbol": currencySymbol == null ? null : currencySymbol,
"clientName": clientName == null ? null : clientName,
"url": url == null ? null : url,
"title": title == null ? null : title,
"contentType": contentType == null ? null : contentType,
"couponDetails": couponDetails == null ? null : couponDetails.toJson(),
"downloadExists": downloadExists == null ? null : downloadExists,
"bundle": bundle == null ? null : bundle,
"pixels": pixels == null ? null : pixels.toJson(),
"logoUrl": logoUrl == null ? null : logoUrl,
"validPass": validPass == null ? null : validPass.toJson(),
"paywallCustomization":
paywallCustomization == null ? null : paywallCustomization.toJson(),
"subscriptionsExist":
subscriptionsExist == null ? null : subscriptionsExist,
"subscriptionDomain":
subscriptionDomain == null ? null : subscriptionDomain,
"pathUrl": pathUrl == null ? null : pathUrl,
"categories": categories == null
? null
: List<dynamic>.from(categories.map((x) => x)),
"detectedCountry": detectedCountry == null ? null : detectedCountry,
"couponForPass": couponForPass == null ? null : couponForPass.toJson(),
"subscriptionUrl": subscriptionUrl == null ? null : subscriptionUrl,
};