SecurityPolicyRuleMatcher.fromJson constructor

SecurityPolicyRuleMatcher.fromJson(
  1. Map json_
)

Implementation

SecurityPolicyRuleMatcher.fromJson(core.Map json_)
    : this(
        config: json_.containsKey('config')
            ? SecurityPolicyRuleMatcherConfig.fromJson(
                json_['config'] as core.Map<core.String, core.dynamic>)
            : null,
        expr: json_.containsKey('expr')
            ? Expr.fromJson(
                json_['expr'] as core.Map<core.String, core.dynamic>)
            : null,
        exprOptions: json_.containsKey('exprOptions')
            ? SecurityPolicyRuleMatcherExprOptions.fromJson(
                json_['exprOptions'] as core.Map<core.String, core.dynamic>)
            : null,
        versionedExpr: json_.containsKey('versionedExpr')
            ? json_['versionedExpr'] as core.String
            : null,
      );