CampaignsResponse.fromJson constructor
Implementation
factory CampaignsResponse.fromJson(Map<String, dynamic> json) {
return CampaignsResponse(
item: (json['Item'] as List)
.whereNotNull()
.map((e) => CampaignResponse.fromJson(e as Map<String, dynamic>))
.toList(),
nextToken: json['NextToken'] as String?,
);
}