PublisherProfile.fromJson constructor
PublisherProfile.fromJson(
- Map json_
Implementation
PublisherProfile.fromJson(core.Map json_)
: this(
audienceDescription: json_.containsKey('audienceDescription')
? json_['audienceDescription'] 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,
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,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
overview: json_.containsKey('overview')
? json_['overview'] as core.String
: null,
pitchStatement: json_.containsKey('pitchStatement')
? json_['pitchStatement'] as core.String
: null,
programmaticDealsContact:
json_.containsKey('programmaticDealsContact')
? json_['programmaticDealsContact'] as core.String
: null,
publisherCode: json_.containsKey('publisherCode')
? json_['publisherCode'] as core.String
: null,
samplePageUrl: json_.containsKey('samplePageUrl')
? json_['samplePageUrl'] as core.String
: null,
topHeadlines: json_.containsKey('topHeadlines')
? (json_['topHeadlines'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
);