DescribeAggregateComplianceByConfigRulesResponse.fromJson constructor

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

Implementation

factory DescribeAggregateComplianceByConfigRulesResponse.fromJson(
    Map<String, dynamic> json) {
  return DescribeAggregateComplianceByConfigRulesResponse(
    aggregateComplianceByConfigRules:
        (json['AggregateComplianceByConfigRules'] as List?)
            ?.whereNotNull()
            .map((e) => AggregateComplianceByConfigRule.fromJson(
                e as Map<String, dynamic>))
            .toList(),
    nextToken: json['NextToken'] as String?,
  );
}