GoogleCloudDialogflowV2IntentMessageListSelectItem.fromMap constructor
GoogleCloudDialogflowV2IntentMessageListSelectItem.fromMap(
- Map<String, dynamic> map
)
Implementation
factory GoogleCloudDialogflowV2IntentMessageListSelectItem.fromMap(Map<String, dynamic> map) {
return GoogleCloudDialogflowV2IntentMessageListSelectItem(
description: (() { final guardedValue = map['description']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
image: (() { final guardedValue = map['image']; if (guardedValue == null) return null; return pulumi.Input.fromValue(GoogleCloudDialogflowV2IntentMessageImage.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
info: pulumi.Input.fromValue(GoogleCloudDialogflowV2IntentMessageSelectItemInfo.fromMap((map['info']! as Map).cast<String, dynamic>())),
title: pulumi.Input.fromValue(map['title'] as String),
);
}