RuleGroupReferenceStatement.fromJson constructor

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

Implementation

factory RuleGroupReferenceStatement.fromJson(Map<String, dynamic> json) {
  return RuleGroupReferenceStatement(
    arn: json['ARN'] as String,
    excludedRules: (json['ExcludedRules'] as List?)
        ?.whereNotNull()
        .map((e) => ExcludedRule.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}