toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (discountedOffer != null) 'discountedOffer': discountedOffer!,
if (offerId != null) 'offerId': offerId!,
if (offerTags != null) 'offerTags': offerTags!,
if (packageName != null) 'packageName': packageName!,
if (preOrderOffer != null) 'preOrderOffer': preOrderOffer!,
if (productId != null) 'productId': productId!,
if (purchaseOptionId != null) 'purchaseOptionId': purchaseOptionId!,
if (regionalPricingAndAvailabilityConfigs != null)
'regionalPricingAndAvailabilityConfigs':
regionalPricingAndAvailabilityConfigs!,
if (regionsVersion != null) 'regionsVersion': regionsVersion!,
if (state != null) 'state': state!,
};