ListDeliverabilityTestReportsResponse.fromJson constructor

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

Implementation

factory ListDeliverabilityTestReportsResponse.fromJson(
    Map<String, dynamic> json) {
  return ListDeliverabilityTestReportsResponse(
    deliverabilityTestReports: (json['DeliverabilityTestReports'] as List)
        .whereNotNull()
        .map((e) =>
            DeliverabilityTestReport.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}