GoogleCloudDialogflowV2IntentMessageSimpleResponse.fromJson constructor

GoogleCloudDialogflowV2IntentMessageSimpleResponse.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2IntentMessageSimpleResponse.fromJson(core.Map json_)
    : this(
        displayText: json_.containsKey('displayText')
            ? json_['displayText'] as core.String
            : null,
        ssml: json_.containsKey('ssml') ? json_['ssml'] as core.String : null,
        textToSpeech: json_.containsKey('textToSpeech')
            ? json_['textToSpeech'] as core.String
            : null,
      );