ListComplianceSummariesResult.fromJson constructor

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

Implementation

factory ListComplianceSummariesResult.fromJson(Map<String, dynamic> json) {
  return ListComplianceSummariesResult(
    complianceSummaryItems: (json['ComplianceSummaryItems'] as List?)
        ?.whereNotNull()
        .map((e) => ComplianceSummaryItem.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}