toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (adTag != null) 'adTag': adTag!,
      if (clickTrackingUrl != null) 'clickTrackingUrl': clickTrackingUrl!,
      if (creativeViewUrl != null) 'creativeViewUrl': creativeViewUrl!,
      if (ctaType != null) 'ctaType': ctaType!,
      if (customCtaButtonText != null)
        'customCtaButtonText': customCtaButtonText!,
      if (descriptionText != null) 'descriptionText': descriptionText!,
      if (destinationUrl != null) 'destinationUrl': destinationUrl!,
      if (forecastingUrl != null) 'forecastingUrl': forecastingUrl!,
      if (impressionUrl != null) 'impressionUrl': impressionUrl!,
      if (videoId != null) 'videoId': videoId!,
    };