toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (buyerContacts != null) 'buyerContacts': buyerContacts!,
      if (client != null) 'client': client!,
      if (displayName != null) 'displayName': displayName!,
      if (estimatedGrossSpend != null)
        'estimatedGrossSpend': estimatedGrossSpend!,
      if (flightEndTime != null) 'flightEndTime': flightEndTime!,
      if (flightStartTime != null) 'flightStartTime': flightStartTime!,
      if (geoTargeting != null) 'geoTargeting': geoTargeting!,
      if (inventorySizeTargeting != null)
        'inventorySizeTargeting': inventorySizeTargeting!,
      if (note != null) 'note': note!,
      if (preferredDealTerms != null)
        'preferredDealTerms': preferredDealTerms!,
      if (programmaticGuaranteedTerms != null)
        'programmaticGuaranteedTerms': programmaticGuaranteedTerms!,
      if (publisherProfile != null) 'publisherProfile': publisherProfile!,
    };