toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (contentCategory != null) 'contentCategory': contentCategory!,
      if (effectiveContentCategory != null)
        'effectiveContentCategory': effectiveContentCategory!,
      if (inventorySourceSettings != null)
        'inventorySourceSettings': inventorySourceSettings!,
      if (leadFormId != null) 'leadFormId': leadFormId!,
      if (linkedMerchantId != null) 'linkedMerchantId': linkedMerchantId!,
      if (relatedVideoIds != null) 'relatedVideoIds': relatedVideoIds!,
      if (targetFrequency != null) 'targetFrequency': targetFrequency!,
      if (thirdPartyMeasurementConfigs != null)
        'thirdPartyMeasurementConfigs': thirdPartyMeasurementConfigs!,
      if (videoAdSequenceSettings != null)
        'videoAdSequenceSettings': videoAdSequenceSettings!,
      if (viewFrequencyCap != null) 'viewFrequencyCap': viewFrequencyCap!,
    };