toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (brand != null) 'brand': brand!,
if (categoryL1 != null) 'categoryL1': categoryL1!,
if (categoryL2 != null) 'categoryL2': categoryL2!,
if (categoryL3 != null) 'categoryL3': categoryL3!,
if (categoryL4 != null) 'categoryL4': categoryL4!,
if (categoryL5 != null) 'categoryL5': categoryL5!,
if (clickThroughRate != null) 'clickThroughRate': clickThroughRate!,
if (clicks != null) 'clicks': clicks!,
if (conversionRate != null) 'conversionRate': conversionRate!,
if (conversionValue != null) 'conversionValue': conversionValue!,
if (conversions != null) 'conversions': conversions!,
if (customLabel0 != null) 'customLabel0': customLabel0!,
if (customLabel1 != null) 'customLabel1': customLabel1!,
if (customLabel2 != null) 'customLabel2': customLabel2!,
if (customLabel3 != null) 'customLabel3': customLabel3!,
if (customLabel4 != null) 'customLabel4': customLabel4!,
if (customerCountryCode != null)
'customerCountryCode': customerCountryCode!,
if (date != null) 'date': date!,
if (impressions != null) 'impressions': impressions!,
if (marketingMethod != null) 'marketingMethod': marketingMethod!,
if (offerId != null) 'offerId': offerId!,
if (productTypeL1 != null) 'productTypeL1': productTypeL1!,
if (productTypeL2 != null) 'productTypeL2': productTypeL2!,
if (productTypeL3 != null) 'productTypeL3': productTypeL3!,
if (productTypeL4 != null) 'productTypeL4': productTypeL4!,
if (productTypeL5 != null) 'productTypeL5': productTypeL5!,
if (title != null) 'title': title!,
if (week != null) 'week': week!,
};