SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.fromJson constructor

SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.fromJson(
  1. Map json_
)

Implementation

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