DescribeComplianceByConfigRuleResponse.fromJson constructor

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

Implementation

factory DescribeComplianceByConfigRuleResponse.fromJson(
    Map<String, dynamic> json) {
  return DescribeComplianceByConfigRuleResponse(
    complianceByConfigRules: (json['ComplianceByConfigRules'] as List?)
        ?.whereNotNull()
        .map(
            (e) => ComplianceByConfigRule.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}