GoogleCloudDialogflowV2IntentMessageListSelect.fromMap constructor
GoogleCloudDialogflowV2IntentMessageListSelect.fromMap(
- Map<String, dynamic> map
)
Implementation
factory GoogleCloudDialogflowV2IntentMessageListSelect.fromMap(Map<String, dynamic> map) {
return GoogleCloudDialogflowV2IntentMessageListSelect(
items: pulumi.Input.fromValue(pulumi.Input.decodeList<GoogleCloudDialogflowV2IntentMessageListSelectItem>(map['items']!, (value) => GoogleCloudDialogflowV2IntentMessageListSelectItem.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); })(),
);
}