GetAggregateComplianceDetailsByConfigRuleResponse.fromJson constructor

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

Implementation

factory GetAggregateComplianceDetailsByConfigRuleResponse.fromJson(
    Map<String, dynamic> json) {
  return GetAggregateComplianceDetailsByConfigRuleResponse(
    aggregateEvaluationResults: (json['AggregateEvaluationResults'] as List?)
        ?.whereNotNull()
        .map((e) =>
            AggregateEvaluationResult.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}