toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'description': description,
'media': pulumi.Input.mapInputValue<GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaResponse, Map<String, dynamic>>(media, (value) => value.toMap()),
'suggestions': pulumi.Input.mapInputValue<List<GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestionResponse>, List<Map<String, dynamic>>>(suggestions, (value) => pulumi.Input.encodeList<GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestionResponse, Map<String, dynamic>>(value, (value) => value.toMap())),
'title': title,
};
}