GoogleCloudDialogflowV2beta1IntentMessageText.fromMap constructor

GoogleCloudDialogflowV2beta1IntentMessageText.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory GoogleCloudDialogflowV2beta1IntentMessageText.fromMap(Map<String, dynamic> map) {
  return GoogleCloudDialogflowV2beta1IntentMessageText(
    text: (() { final guardedValue = map['text']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as List).cast<String>()); })(),
  );
}