GoogleCloudDialogflowV2IntentMessageSelectItemInfo.fromMap constructor
GoogleCloudDialogflowV2IntentMessageSelectItemInfo.fromMap(
- Map<String, dynamic> map
)
Implementation
factory GoogleCloudDialogflowV2IntentMessageSelectItemInfo.fromMap(Map<String, dynamic> map) {
return GoogleCloudDialogflowV2IntentMessageSelectItemInfo(
key: pulumi.Input.fromValue(map['key'] as String),
synonyms: (() { final guardedValue = map['synonyms']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as List).cast<String>()); })(),
);
}