SecurityPolicyRuleHttpHeaderAction.fromJson constructor

SecurityPolicyRuleHttpHeaderAction.fromJson(
  1. Map json_
)

Implementation

SecurityPolicyRuleHttpHeaderAction.fromJson(core.Map json_)
    : this(
        requestHeadersToAdds: json_.containsKey('requestHeadersToAdds')
            ? (json_['requestHeadersToAdds'] as core.List)
                .map((value) =>
                    SecurityPolicyRuleHttpHeaderActionHttpHeaderOption
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );