V2modelsIntentInitialResponseSettingNextStep.fromMap constructor
V2modelsIntentInitialResponseSettingNextStep.fromMap(
- Map<String, dynamic> map
)
Implementation
factory V2modelsIntentInitialResponseSettingNextStep.fromMap(Map<String, dynamic> map) {
return V2modelsIntentInitialResponseSettingNextStep(
dialogAction: (() { final guardedValue = map['dialogAction']; if (guardedValue == null) return null; return pulumi.Input.fromValue(V2modelsIntentInitialResponseSettingNextStepDialogAction.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
intent: (() { final guardedValue = map['intent']; if (guardedValue == null) return null; return pulumi.Input.fromValue(V2modelsIntentInitialResponseSettingNextStepIntent.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
sessionAttributes: (() { final guardedValue = map['sessionAttributes']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as Map).cast<String, String>()); })(),
);
}