toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (billedBuyer != null) 'billedBuyer': billedBuyer!,
      if (buyer != null) 'buyer': buyer!,
      if (client != null) 'client': client!,
      if (createTime != null) 'createTime': createTime!,
      if (creativeRequirements != null)
        'creativeRequirements': creativeRequirements!,
      if (dealType != null) 'dealType': dealType!,
      if (deliveryControl != null) 'deliveryControl': deliveryControl!,
      if (description != null) 'description': description!,
      if (displayName != null) 'displayName': displayName!,
      if (eligibleSeatIds != null) 'eligibleSeatIds': eligibleSeatIds!,
      if (estimatedGrossSpend != null)
        'estimatedGrossSpend': estimatedGrossSpend!,
      if (flightEndTime != null) 'flightEndTime': flightEndTime!,
      if (flightStartTime != null) 'flightStartTime': flightStartTime!,
      if (mediaPlanner != null) 'mediaPlanner': mediaPlanner!,
      if (name != null) 'name': name!,
      if (preferredDealTerms != null)
        'preferredDealTerms': preferredDealTerms!,
      if (privateAuctionTerms != null)
        'privateAuctionTerms': privateAuctionTerms!,
      if (programmaticGuaranteedTerms != null)
        'programmaticGuaranteedTerms': programmaticGuaranteedTerms!,
      if (proposalRevision != null) 'proposalRevision': proposalRevision!,
      if (publisherProfile != null) 'publisherProfile': publisherProfile!,
      if (sellerTimeZone != null) 'sellerTimeZone': sellerTimeZone!,
      if (targeting != null) 'targeting': targeting!,
      if (updateTime != null) 'updateTime': updateTime!,
    };