toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'events': ?pulumi.Input.mapOptionalInputValue<List<AiReasoningEngineContextSpecMemoryBankConfigCustomizationConfigGenerateMemoriesExampleConversationSourceEvent>, List<Map<String, dynamic>>>(events, (value) => pulumi.Input.encodeList<AiReasoningEngineContextSpecMemoryBankConfigCustomizationConfigGenerateMemoriesExampleConversationSourceEvent, Map<String, dynamic>>(value, (value) => value.toMap())),
};
}