toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (additionalDimensions != null)
        'additionalDimensions': additionalDimensions!,
      if (advertiserId != null) 'advertiserId': advertiserId!,
      if (appendedTag != null) 'appendedTag': appendedTag!,
      if (assets != null) 'assets': assets!,
      if (cmPlacementId != null) 'cmPlacementId': cmPlacementId!,
      if (cmTrackingAd != null) 'cmTrackingAd': cmTrackingAd!,
      if (companionCreativeIds != null)
        'companionCreativeIds': companionCreativeIds!,
      if (counterEvents != null) 'counterEvents': counterEvents!,
      if (createTime != null) 'createTime': createTime!,
      if (creativeAttributes != null)
        'creativeAttributes': creativeAttributes!,
      if (creativeId != null) 'creativeId': creativeId!,
      if (creativeType != null) 'creativeType': creativeType!,
      if (dimensions != null) 'dimensions': dimensions!,
      if (displayName != null) 'displayName': displayName!,
      if (dynamic != null) 'dynamic': dynamic!,
      if (entityStatus != null) 'entityStatus': entityStatus!,
      if (exitEvents != null) 'exitEvents': exitEvents!,
      if (expandOnHover != null) 'expandOnHover': expandOnHover!,
      if (expandingDirection != null)
        'expandingDirection': expandingDirection!,
      if (hostingSource != null) 'hostingSource': hostingSource!,
      if (html5Video != null) 'html5Video': html5Video!,
      if (iasCampaignMonitoring != null)
        'iasCampaignMonitoring': iasCampaignMonitoring!,
      if (integrationCode != null) 'integrationCode': integrationCode!,
      if (jsTrackerUrl != null) 'jsTrackerUrl': jsTrackerUrl!,
      if (lineItemIds != null) 'lineItemIds': lineItemIds!,
      if (mediaDuration != null) 'mediaDuration': mediaDuration!,
      if (mp3Audio != null) 'mp3Audio': mp3Audio!,
      if (name != null) 'name': name!,
      if (notes != null) 'notes': notes!,
      if (obaIcon != null) 'obaIcon': obaIcon!,
      if (oggAudio != null) 'oggAudio': oggAudio!,
      if (progressOffset != null) 'progressOffset': progressOffset!,
      if (requireHtml5 != null) 'requireHtml5': requireHtml5!,
      if (requireMraid != null) 'requireMraid': requireMraid!,
      if (requirePingForAttribution != null)
        'requirePingForAttribution': requirePingForAttribution!,
      if (reviewStatus != null) 'reviewStatus': reviewStatus!,
      if (skipOffset != null) 'skipOffset': skipOffset!,
      if (skippable != null) 'skippable': skippable!,
      if (thirdPartyTag != null) 'thirdPartyTag': thirdPartyTag!,
      if (thirdPartyUrls != null) 'thirdPartyUrls': thirdPartyUrls!,
      if (timerEvents != null) 'timerEvents': timerEvents!,
      if (trackerUrls != null) 'trackerUrls': trackerUrls!,
      if (transcodes != null) 'transcodes': transcodes!,
      if (universalAdId != null) 'universalAdId': universalAdId!,
      if (updateTime != null) 'updateTime': updateTime!,
      if (vastTagUrl != null) 'vastTagUrl': vastTagUrl!,
      if (vpaid != null) 'vpaid': vpaid!,
    };