GetConformancePackComplianceSummaryResponse.fromJson constructor

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

Implementation

factory GetConformancePackComplianceSummaryResponse.fromJson(
    Map<String, dynamic> json) {
  return GetConformancePackComplianceSummaryResponse(
    conformancePackComplianceSummaryList:
        (json['ConformancePackComplianceSummaryList'] as List?)
            ?.whereNotNull()
            .map((e) => ConformancePackComplianceSummary.fromJson(
                e as Map<String, dynamic>))
            .toList(),
    nextToken: json['NextToken'] as String?,
  );
}