toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (autoplayVideoDuration != null)
        'autoplayVideoDuration': autoplayVideoDuration!,
      if (autoplayVideoStartMillisecond != null)
        'autoplayVideoStartMillisecond': autoplayVideoStartMillisecond!,
      if (callToActionButtonLabel != null)
        'callToActionButtonLabel': callToActionButtonLabel!,
      if (callToActionFinalUrl != null)
        'callToActionFinalUrl': callToActionFinalUrl!,
      if (callToActionTrackingUrl != null)
        'callToActionTrackingUrl': callToActionTrackingUrl!,
      if (companionYoutubeVideos != null)
        'companionYoutubeVideos': companionYoutubeVideos!,
      if (description != null) 'description': description!,
      if (headline != null) 'headline': headline!,
      if (showChannelArt != null) 'showChannelArt': showChannelArt!,
      if (video != null) 'video': video!,
      if (videoAspectRatio != null) 'videoAspectRatio': videoAspectRatio!,
    };