toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (availableEndTime != null) 'availableEndTime': availableEndTime!,
      if (availableStartTime != null)
        'availableStartTime': availableStartTime!,
      if (buyerPrivateData != null) 'buyerPrivateData': buyerPrivateData!,
      if (createProductId != null) 'createProductId': createProductId!,
      if (createProductRevision != null)
        'createProductRevision': createProductRevision!,
      if (createTime != null) 'createTime': createTime!,
      if (creativePreApprovalPolicy != null)
        'creativePreApprovalPolicy': creativePreApprovalPolicy!,
      if (creativeRestrictions != null)
        'creativeRestrictions': creativeRestrictions!,
      if (creativeSafeFrameCompatibility != null)
        'creativeSafeFrameCompatibility': creativeSafeFrameCompatibility!,
      if (dealId != null) 'dealId': dealId!,
      if (dealServingMetadata != null)
        'dealServingMetadata': dealServingMetadata!,
      if (dealTerms != null) 'dealTerms': dealTerms!,
      if (deliveryControl != null) 'deliveryControl': deliveryControl!,
      if (description != null) 'description': description!,
      if (displayName != null) 'displayName': displayName!,
      if (externalDealId != null) 'externalDealId': externalDealId!,
      if (isSetupComplete != null) 'isSetupComplete': isSetupComplete!,
      if (programmaticCreativeSource != null)
        'programmaticCreativeSource': programmaticCreativeSource!,
      if (proposalId != null) 'proposalId': proposalId!,
      if (sellerContacts != null) 'sellerContacts': sellerContacts!,
      if (syndicationProduct != null)
        'syndicationProduct': syndicationProduct!,
      if (targeting != null) 'targeting': targeting!,
      if (targetingCriterion != null)
        'targetingCriterion': targetingCriterion!,
      if (updateTime != null) 'updateTime': updateTime!,
      if (webPropertyCode != null) 'webPropertyCode': webPropertyCode!,
    };