V2modelsIntentClosingSettingNextStepIntentSlot.fromMap constructor
V2modelsIntentClosingSettingNextStepIntentSlot.fromMap(
- Map<String, dynamic> map
)
Implementation
factory V2modelsIntentClosingSettingNextStepIntentSlot.fromMap(Map<String, dynamic> map) {
return V2modelsIntentClosingSettingNextStepIntentSlot(
mapBlockKey: pulumi.Input.fromValue(map['mapBlockKey'] as String),
shape: (() { final guardedValue = map['shape']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
value: (() { final guardedValue = map['value']; if (guardedValue == null) return null; return pulumi.Input.fromValue(V2modelsIntentClosingSettingNextStepIntentSlotValue.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
);
}