FirewallPolicyRuleMatcherLayer4Config.fromJson constructor

FirewallPolicyRuleMatcherLayer4Config.fromJson(
  1. Map json_
)

Implementation

FirewallPolicyRuleMatcherLayer4Config.fromJson(core.Map json_)
    : this(
        ipProtocol: json_.containsKey('ipProtocol')
            ? json_['ipProtocol'] as core.String
            : null,
        ports: json_.containsKey('ports')
            ? (json_['ports'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );