DescribeOrganizationConformancePacksResponse.fromJson constructor

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

Implementation

factory DescribeOrganizationConformancePacksResponse.fromJson(
    Map<String, dynamic> json) {
  return DescribeOrganizationConformancePacksResponse(
    nextToken: json['NextToken'] as String?,
    organizationConformancePacks: (json['OrganizationConformancePacks']
            as List?)
        ?.whereNotNull()
        .map((e) =>
            OrganizationConformancePack.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}