DescribeOrganizationConfigRulesResponse.fromJson constructor

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

Implementation

factory DescribeOrganizationConfigRulesResponse.fromJson(
    Map<String, dynamic> json) {
  return DescribeOrganizationConfigRulesResponse(
    nextToken: json['NextToken'] as String?,
    organizationConfigRules: (json['OrganizationConfigRules'] as List?)
        ?.whereNotNull()
        .map(
            (e) => OrganizationConfigRule.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}