ReplaceSitesRequest.fromJson constructor
ReplaceSitesRequest.fromJson(
- Map json_
Implementation
ReplaceSitesRequest.fromJson(core.Map json_)
: this(
advertiserId: json_.containsKey('advertiserId')
? json_['advertiserId'] as core.String
: null,
newSites: json_.containsKey('newSites')
? (json_['newSites'] as core.List)
.map((value) => Site.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
partnerId: json_.containsKey('partnerId')
? json_['partnerId'] as core.String
: null,
);