toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'maxAttempts': maxAttempts,
'messages': pulumi.Input.mapInputValue<List<BotClarificationPromptMessage>, List<Map<String, dynamic>>>(messages, (value) => pulumi.Input.encodeList<BotClarificationPromptMessage, Map<String, dynamic>>(value, (value) => value.toMap())),
'responseCard': ?responseCard,
};
}