GoogleCloudDialogflowV2beta1IntentMessageListSelect.fromMap constructor
GoogleCloudDialogflowV2beta1IntentMessageListSelect.fromMap(
- Map<String, dynamic> map
)
Implementation
factory GoogleCloudDialogflowV2beta1IntentMessageListSelect.fromMap(Map<String, dynamic> map) {
return GoogleCloudDialogflowV2beta1IntentMessageListSelect(
items: pulumi.Input.fromValue(pulumi.Input.decodeList<GoogleCloudDialogflowV2beta1IntentMessageListSelectItem>(map['items']!, (value) => GoogleCloudDialogflowV2beta1IntentMessageListSelectItem.fromMap((value as Map).cast<String, dynamic>()))),
subtitle: (() { final guardedValue = map['subtitle']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
title: (() { final guardedValue = map['title']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
);
}