GoogleAdsSearchads360V23ServicesCallConversion.fromJson constructor
GoogleAdsSearchads360V23ServicesCallConversion.fromJson(
- Map json_
Implementation
GoogleAdsSearchads360V23ServicesCallConversion.fromJson(core.Map json_)
: this(
callStartDateTime: json_['callStartDateTime'] as core.String?,
callerId: json_['callerId'] as core.String?,
consent: json_.containsKey('consent')
? GoogleAdsSearchads360V23CommonConsent.fromJson(
json_['consent'] as core.Map<core.String, core.dynamic>,
)
: null,
conversionAction: json_['conversionAction'] as core.String?,
conversionDateTime: json_['conversionDateTime'] as core.String?,
conversionValue: (json_['conversionValue'] as core.num?)?.toDouble(),
currencyCode: json_['currencyCode'] as core.String?,
customVariables: (json_['customVariables'] as core.List?)
?.map(
(value) =>
GoogleAdsSearchads360V23ServicesCustomVariable.fromJson(
value as core.Map<core.String, core.dynamic>,
),
)
.toList(),
);