WebACL.fromJson constructor
Implementation
factory WebACL.fromJson(Map<String, dynamic> json) {
return WebACL(
defaultAction:
WafAction.fromJson(json['DefaultAction'] as Map<String, dynamic>),
rules: (json['Rules'] as List)
.whereNotNull()
.map((e) => ActivatedRule.fromJson(e as Map<String, dynamic>))
.toList(),
webACLId: json['WebACLId'] as String,
metricName: json['MetricName'] as String?,
name: json['Name'] as String?,
webACLArn: json['WebACLArn'] as String?,
);
}