IntentFollowUpPromptRejectionStatement.fromMap constructor
IntentFollowUpPromptRejectionStatement.fromMap(
- Map<String, dynamic> map
)
Implementation
factory IntentFollowUpPromptRejectionStatement.fromMap(Map<String, dynamic> map) {
return IntentFollowUpPromptRejectionStatement(
messages: pulumi.Input.fromValue(pulumi.Input.decodeList<IntentFollowUpPromptRejectionStatementMessage>(map['messages']!, (value) => IntentFollowUpPromptRejectionStatementMessage.fromMap((value as Map).cast<String, dynamic>()))),
responseCard: (() { final guardedValue = map['responseCard']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
);
}