FirewallManagerStatement.fromJson constructor

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

Implementation

factory FirewallManagerStatement.fromJson(Map<String, dynamic> json) {
  return FirewallManagerStatement(
    managedRuleGroupStatement: json['ManagedRuleGroupStatement'] != null
        ? ManagedRuleGroupStatement.fromJson(
            json['ManagedRuleGroupStatement'] as Map<String, dynamic>)
        : null,
    ruleGroupReferenceStatement: json['RuleGroupReferenceStatement'] != null
        ? RuleGroupReferenceStatement.fromJson(
            json['RuleGroupReferenceStatement'] as Map<String, dynamic>)
        : null,
  );
}