toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (adGroupId != null) 'adGroupId': adGroupId!,
      if (adId != null) 'adId': adId!,
      if (adUserDataConsent != null) 'adUserDataConsent': adUserDataConsent!,
      if (advertiserId != null) 'advertiserId': advertiserId!,
      if (agencyId != null) 'agencyId': agencyId!,
      if (attributionModel != null) 'attributionModel': attributionModel!,
      if (campaignId != null) 'campaignId': campaignId!,
      if (channel != null) 'channel': channel!,
      if (clickId != null) 'clickId': clickId!,
      if (conversionId != null) 'conversionId': conversionId!,
      if (conversionModifiedTimestamp != null)
        'conversionModifiedTimestamp': conversionModifiedTimestamp!,
      if (conversionTimestamp != null)
        'conversionTimestamp': conversionTimestamp!,
      if (countMillis != null) 'countMillis': countMillis!,
      if (criterionId != null) 'criterionId': criterionId!,
      if (currencyCode != null) 'currencyCode': currencyCode!,
      if (customDimension != null) 'customDimension': customDimension!,
      if (customMetric != null) 'customMetric': customMetric!,
      if (customerId != null) 'customerId': customerId!,
      if (deviceType != null) 'deviceType': deviceType!,
      if (dsConversionId != null) 'dsConversionId': dsConversionId!,
      if (engineAccountId != null) 'engineAccountId': engineAccountId!,
      if (floodlightOrderId != null) 'floodlightOrderId': floodlightOrderId!,
      if (inventoryAccountId != null)
        'inventoryAccountId': inventoryAccountId!,
      if (productCountry != null) 'productCountry': productCountry!,
      if (productGroupId != null) 'productGroupId': productGroupId!,
      if (productId != null) 'productId': productId!,
      if (productLanguage != null) 'productLanguage': productLanguage!,
      if (quantityMillis != null) 'quantityMillis': quantityMillis!,
      if (revenueMicros != null) 'revenueMicros': revenueMicros!,
      if (segmentationId != null) 'segmentationId': segmentationId!,
      if (segmentationName != null) 'segmentationName': segmentationName!,
      if (segmentationType != null) 'segmentationType': segmentationType!,
      if (state != null) 'state': state!,
      if (storeId != null) 'storeId': storeId!,
      if (type != null) 'type': type!,
    };