toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (actionButtonLabel != null) 'actionButtonLabel': actionButtonLabel!,
      if (actionHeadline != null) 'actionHeadline': actionHeadline!,
      if (companionBanner != null) 'companionBanner': companionBanner!,
      if (displayUrl != null) 'displayUrl': displayUrl!,
      if (finalUrl != null) 'finalUrl': finalUrl!,
      if (trackingUrl != null) 'trackingUrl': trackingUrl!,
      if (video != null) 'video': video!,
    };