ListDomainDeliverabilityCampaignsResponse.fromJson constructor

ListDomainDeliverabilityCampaignsResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ListDomainDeliverabilityCampaignsResponse.fromJson(
    Map<String, dynamic> json) {
  return ListDomainDeliverabilityCampaignsResponse(
    domainDeliverabilityCampaigns: (json['DomainDeliverabilityCampaigns']
            as List)
        .whereNotNull()
        .map((e) =>
            DomainDeliverabilityCampaign.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}