RuleGroupRuleCaptchaConfigImmunityTimeProperty.fromMap constructor

RuleGroupRuleCaptchaConfigImmunityTimeProperty.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory RuleGroupRuleCaptchaConfigImmunityTimeProperty.fromMap(Map<String, dynamic> map) {
  return RuleGroupRuleCaptchaConfigImmunityTimeProperty(
    immunityTime: (() { final guardedValue = map['immunityTime']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as num).toInt()); })(),
  );
}