SecurityPolicyRuleMatcherExprOptions.fromJson constructor

SecurityPolicyRuleMatcherExprOptions.fromJson(
  1. Object? j
)

Implementation

factory SecurityPolicyRuleMatcherExprOptions.fromJson(Object? j) {
  final json = j as Map<String, Object?>;
  return SecurityPolicyRuleMatcherExprOptions(
    recaptchaOptions: switch (json['recaptchaOptions']) {
      null => null,
      Object $1 =>
        SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.fromJson($1),
    },
  );
}