DescribeOrganizationConformancePackStatusesResponse.fromJson constructor

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

Implementation

factory DescribeOrganizationConformancePackStatusesResponse.fromJson(
    Map<String, dynamic> json) {
  return DescribeOrganizationConformancePackStatusesResponse(
    nextToken: json['NextToken'] as String?,
    organizationConformancePackStatuses:
        (json['OrganizationConformancePackStatuses'] as List?)
            ?.whereNotNull()
            .map((e) => OrganizationConformancePackStatus.fromJson(
                e as Map<String, dynamic>))
            .toList(),
  );
}