toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (accountId != null) 'accountId': accountId!,
      if (advertiserId != null) 'advertiserId': advertiserId!,
      if (advertiserIdDimensionValue != null)
        'advertiserIdDimensionValue': advertiserIdDimensionValue!,
      if (analyticsDataSharingEnabled != null)
        'analyticsDataSharingEnabled': analyticsDataSharingEnabled!,
      if (customViewabilityMetric != null)
        'customViewabilityMetric': customViewabilityMetric!,
      if (exposureToConversionEnabled != null)
        'exposureToConversionEnabled': exposureToConversionEnabled!,
      if (firstDayOfWeek != null) 'firstDayOfWeek': firstDayOfWeek!,
      if (id != null) 'id': id!,
      if (idDimensionValue != null) 'idDimensionValue': idDimensionValue!,
      if (inAppAttributionTrackingEnabled != null)
        'inAppAttributionTrackingEnabled': inAppAttributionTrackingEnabled!,
      if (kind != null) 'kind': kind!,
      if (lookbackConfiguration != null)
        'lookbackConfiguration': lookbackConfiguration!,
      if (naturalSearchConversionAttributionOption != null)
        'naturalSearchConversionAttributionOption':
            naturalSearchConversionAttributionOption!,
      if (omnitureSettings != null) 'omnitureSettings': omnitureSettings!,
      if (subaccountId != null) 'subaccountId': subaccountId!,
      if (tagSettings != null) 'tagSettings': tagSettings!,
      if (thirdPartyAuthenticationTokens != null)
        'thirdPartyAuthenticationTokens': thirdPartyAuthenticationTokens!,
      if (userDefinedVariableConfigurations != null)
        'userDefinedVariableConfigurations':
            userDefinedVariableConfigurations!,
    };