Advertiser.fromJson constructor
Advertiser.fromJson(
- Map json_
Implementation
Advertiser.fromJson(core.Map json_)
: this(
accountId: json_.containsKey('accountId')
? json_['accountId'] as core.String
: null,
advertiserGroupId: json_.containsKey('advertiserGroupId')
? json_['advertiserGroupId'] as core.String
: null,
clickThroughUrlSuffix: json_.containsKey('clickThroughUrlSuffix')
? json_['clickThroughUrlSuffix'] as core.String
: null,
defaultClickThroughEventTagId:
json_.containsKey('defaultClickThroughEventTagId')
? json_['defaultClickThroughEventTagId'] as core.String
: null,
defaultEmail: json_.containsKey('defaultEmail')
? json_['defaultEmail'] as core.String
: null,
floodlightConfigurationId:
json_.containsKey('floodlightConfigurationId')
? json_['floodlightConfigurationId'] as core.String
: null,
floodlightConfigurationIdDimensionValue:
json_.containsKey('floodlightConfigurationIdDimensionValue')
? DimensionValue.fromJson(
json_['floodlightConfigurationIdDimensionValue']
as core.Map<core.String, core.dynamic>)
: null,
id: json_.containsKey('id') ? json_['id'] as core.String : null,
idDimensionValue: json_.containsKey('idDimensionValue')
? DimensionValue.fromJson(json_['idDimensionValue']
as core.Map<core.String, core.dynamic>)
: null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
measurementPartnerLink: json_.containsKey('measurementPartnerLink')
? MeasurementPartnerAdvertiserLink.fromJson(
json_['measurementPartnerLink']
as core.Map<core.String, core.dynamic>)
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
originalFloodlightConfigurationId:
json_.containsKey('originalFloodlightConfigurationId')
? json_['originalFloodlightConfigurationId'] as core.String
: null,
status: json_.containsKey('status')
? json_['status'] as core.String
: null,
subaccountId: json_.containsKey('subaccountId')
? json_['subaccountId'] as core.String
: null,
suspended: json_.containsKey('suspended')
? json_['suspended'] as core.bool
: null,
);