DescribeConformancePackStatusResponse.fromJson constructor

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

Implementation

factory DescribeConformancePackStatusResponse.fromJson(
    Map<String, dynamic> json) {
  return DescribeConformancePackStatusResponse(
    conformancePackStatusDetails: (json['ConformancePackStatusDetails']
            as List?)
        ?.whereNotNull()
        .map((e) =>
            ConformancePackStatusDetail.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}