DescribeConfigRulesResponse.fromJson constructor

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

Implementation

factory DescribeConfigRulesResponse.fromJson(Map<String, dynamic> json) {
  return DescribeConfigRulesResponse(
    configRules: (json['ConfigRules'] as List?)
        ?.whereNotNull()
        .map((e) => ConfigRule.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}