toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (advertiserName != null) 'advertiserName': advertiserName!,
if (appIcon != null) 'appIcon': appIcon!,
if (body != null) 'body': body!,
if (callToAction != null) 'callToAction': callToAction!,
if (clickLinkUrl != null) 'clickLinkUrl': clickLinkUrl!,
if (clickTrackingUrl != null) 'clickTrackingUrl': clickTrackingUrl!,
if (headline != null) 'headline': headline!,
if (image != null) 'image': image!,
if (logo != null) 'logo': logo!,
if (priceDisplayText != null) 'priceDisplayText': priceDisplayText!,
if (starRating != null) 'starRating': starRating!,
if (videoUrl != null) 'videoUrl': videoUrl!,
if (videoVastXml != null) 'videoVastXml': videoVastXml!,
};