PublisherProfile.fromJson constructor
PublisherProfile.fromJson(
- Map json_
Implementation
PublisherProfile.fromJson(core.Map json_)
: this(
audienceDescription: json_.containsKey('audienceDescription')
? json_['audienceDescription'] as core.String
: null,
buyerPitchStatement: json_.containsKey('buyerPitchStatement')
? json_['buyerPitchStatement'] as core.String
: null,
directDealsContact: json_.containsKey('directDealsContact')
? json_['directDealsContact'] as core.String
: null,
displayName: json_.containsKey('displayName')
? json_['displayName'] as core.String
: null,
domains: json_.containsKey('domains')
? (json_['domains'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
googlePlusUrl: json_.containsKey('googlePlusUrl')
? json_['googlePlusUrl'] as core.String
: null,
isParent: json_.containsKey('isParent')
? json_['isParent'] as core.bool
: null,
logoUrl: json_.containsKey('logoUrl')
? json_['logoUrl'] as core.String
: null,
mediaKitUrl: json_.containsKey('mediaKitUrl')
? json_['mediaKitUrl'] as core.String
: null,
mobileApps: json_.containsKey('mobileApps')
? (json_['mobileApps'] as core.List)
.map((value) => PublisherProfileMobileApplication.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
overview: json_.containsKey('overview')
? json_['overview'] as core.String
: null,
programmaticDealsContact:
json_.containsKey('programmaticDealsContact')
? json_['programmaticDealsContact'] as core.String
: null,
publisherProfileId: json_.containsKey('publisherProfileId')
? json_['publisherProfileId'] as core.String
: null,
rateCardInfoUrl: json_.containsKey('rateCardInfoUrl')
? json_['rateCardInfoUrl'] as core.String
: null,
samplePageUrl: json_.containsKey('samplePageUrl')
? json_['samplePageUrl'] as core.String
: null,
seller: json_.containsKey('seller')
? Seller.fromJson(
json_['seller'] as core.Map<core.String, core.dynamic>)
: null,
topHeadlines: json_.containsKey('topHeadlines')
? (json_['topHeadlines'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
);