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<core.String>((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<PublisherProfileMobileApplication>((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<core.String>((value) => value as core.String)
.toList()
: null,
);