DescribeOrganizationConfigRuleStatusesResponse.fromJson constructor

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

Implementation

factory DescribeOrganizationConfigRuleStatusesResponse.fromJson(
    Map<String, dynamic> json) {
  return DescribeOrganizationConfigRuleStatusesResponse(
    nextToken: json['NextToken'] as String?,
    organizationConfigRuleStatuses: (json['OrganizationConfigRuleStatuses']
            as List?)
        ?.whereNotNull()
        .map((e) =>
            OrganizationConfigRuleStatus.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}