Conversion.fromJson constructor
Conversion.fromJson(
- Map json_
Implementation
Conversion.fromJson(core.Map json_)
: this(
adUserDataConsent: json_.containsKey('adUserDataConsent')
? json_['adUserDataConsent'] as core.String
: null,
childDirectedTreatment: json_.containsKey('childDirectedTreatment')
? json_['childDirectedTreatment'] as core.bool
: null,
customVariables: json_.containsKey('customVariables')
? (json_['customVariables'] as core.List)
.map((value) => CustomFloodlightVariable.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
dclid:
json_.containsKey('dclid') ? json_['dclid'] as core.String : null,
encryptedUserId: json_.containsKey('encryptedUserId')
? json_['encryptedUserId'] as core.String
: null,
encryptedUserIdCandidates:
json_.containsKey('encryptedUserIdCandidates')
? (json_['encryptedUserIdCandidates'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
floodlightActivityId: json_.containsKey('floodlightActivityId')
? json_['floodlightActivityId'] as core.String
: null,
floodlightConfigurationId:
json_.containsKey('floodlightConfigurationId')
? json_['floodlightConfigurationId'] as core.String
: null,
gclid:
json_.containsKey('gclid') ? json_['gclid'] as core.String : null,
impressionId: json_.containsKey('impressionId')
? json_['impressionId'] as core.String
: null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
limitAdTracking: json_.containsKey('limitAdTracking')
? json_['limitAdTracking'] as core.bool
: null,
matchId: json_.containsKey('matchId')
? json_['matchId'] as core.String
: null,
mobileDeviceId: json_.containsKey('mobileDeviceId')
? json_['mobileDeviceId'] as core.String
: null,
nonPersonalizedAd: json_.containsKey('nonPersonalizedAd')
? json_['nonPersonalizedAd'] as core.bool
: null,
ordinal: json_.containsKey('ordinal')
? json_['ordinal'] as core.String
: null,
quantity: json_.containsKey('quantity')
? json_['quantity'] as core.String
: null,
timestampMicros: json_.containsKey('timestampMicros')
? json_['timestampMicros'] as core.String
: null,
treatmentForUnderage: json_.containsKey('treatmentForUnderage')
? json_['treatmentForUnderage'] as core.bool
: null,
userIdentifiers: json_.containsKey('userIdentifiers')
? (json_['userIdentifiers'] as core.List)
.map((value) => UserIdentifier.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
value: json_.containsKey('value')
? (json_['value'] as core.num).toDouble()
: null,
);