toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'imageDisplayOptions': ?pulumi.Input.mapOptionalInputValue<GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardImageDisplayOptions, String>(imageDisplayOptions, (value) => value.wireValue),
'items': pulumi.Input.mapInputValue<List<GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem>, List<Map<String, dynamic>>>(items, (value) => pulumi.Input.encodeList<GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem, Map<String, dynamic>>(value, (value) => value.toMap())),
};
}