toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'buttons': pulumi.Input.mapInputValue<List<GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonResponse>, List<Map<String, dynamic>>>(buttons, (value) => pulumi.Input.encodeList<GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonResponse, Map<String, dynamic>>(value, (value) => value.toMap())),
'formattedText': formattedText,
'image': pulumi.Input.mapInputValue<GoogleCloudDialogflowV2beta1IntentMessageImageResponse, Map<String, dynamic>>(image, (value) => value.toMap()),
'subtitle': subtitle,
'title': title,
};
}