FetchEligibleCampaignsRequest.fromJson constructor
FetchEligibleCampaignsRequest.fromJson(
- Map _json
Implementation
FetchEligibleCampaignsRequest.fromJson(core.Map _json)
: this(
alreadySeenCampaigns: _json.containsKey('alreadySeenCampaigns')
? (_json['alreadySeenCampaigns'] as core.List)
.map((value) => CampaignImpression.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
clientSignals: _json.containsKey('clientSignals')
? ClientSignals.fromJson(
_json['clientSignals'] as core.Map<core.String, core.dynamic>)
: null,
requestingClientApp: _json.containsKey('requestingClientApp')
? ClientAppInfo.fromJson(_json['requestingClientApp']
as core.Map<core.String, core.dynamic>)
: null,
);