toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (accountId != null) 'accountId': accountId!,
      if (adChoicesDestinationUrl != null)
        'adChoicesDestinationUrl': adChoicesDestinationUrl!,
      if (adTechnologyProviders != null)
        'adTechnologyProviders': adTechnologyProviders!,
      if (advertiserName != null) 'advertiserName': advertiserName!,
      if (agencyId != null) 'agencyId': agencyId!,
      if (apiUpdateTime != null) 'apiUpdateTime': apiUpdateTime!,
      if (attributes != null) 'attributes': attributes!,
      if (clickThroughUrls != null) 'clickThroughUrls': clickThroughUrls!,
      if (corrections != null) 'corrections': corrections!,
      if (creativeId != null) 'creativeId': creativeId!,
      if (dealsStatus != null) 'dealsStatus': dealsStatus!,
      if (declaredClickThroughUrls != null)
        'declaredClickThroughUrls': declaredClickThroughUrls!,
      if (detectedAdvertiserIds != null)
        'detectedAdvertiserIds': detectedAdvertiserIds!,
      if (detectedDomains != null) 'detectedDomains': detectedDomains!,
      if (detectedLanguages != null) 'detectedLanguages': detectedLanguages!,
      if (detectedProductCategories != null)
        'detectedProductCategories': detectedProductCategories!,
      if (detectedSensitiveCategories != null)
        'detectedSensitiveCategories': detectedSensitiveCategories!,
      if (html != null) 'html': html!,
      if (impressionTrackingUrls != null)
        'impressionTrackingUrls': impressionTrackingUrls!,
      if (native != null) 'native': native!,
      if (openAuctionStatus != null) 'openAuctionStatus': openAuctionStatus!,
      if (restrictedCategories != null)
        'restrictedCategories': restrictedCategories!,
      if (servingRestrictions != null)
        'servingRestrictions': servingRestrictions!,
      if (vendorIds != null) 'vendorIds': vendorIds!,
      if (version != null) 'version': version!,
      if (video != null) 'video': video!,
    };