RuleGroupRuleGroupRulesSourceStatefulRuleRuleOption.fromMap constructor
RuleGroupRuleGroupRulesSourceStatefulRuleRuleOption.fromMap(
- Map<String, dynamic> map
)
Implementation
factory RuleGroupRuleGroupRulesSourceStatefulRuleRuleOption.fromMap(Map<String, dynamic> map) {
return RuleGroupRuleGroupRulesSourceStatefulRuleRuleOption(
keyword: pulumi.Input.fromValue(map['keyword'] as String),
settings: (() { final guardedValue = map['settings']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as List).cast<String>()); })(),
);
}