GetFindingsReportAccountSummaryResponse.fromJson constructor

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

Implementation

factory GetFindingsReportAccountSummaryResponse.fromJson(
    Map<String, dynamic> json) {
  return GetFindingsReportAccountSummaryResponse(
    reportSummaries: (json['reportSummaries'] as List)
        .whereNotNull()
        .map((e) => FindingsReportSummary.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['nextToken'] as String?,
  );
}