GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse.fromMap constructor

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

Implementation

factory GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse.fromMap(Map<String, dynamic> map) {
  return GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse(
    displayText: (() { final guardedValue = map['displayText']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    ssml: (() { final guardedValue = map['ssml']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    textToSpeech: (() { final guardedValue = map['textToSpeech']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
  );
}