GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettingsPromptTemplate.fromJson constructor

GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettingsPromptTemplate.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettingsPromptTemplate.fromJson(
    core.Map json_)
    : this(
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        frozen:
            json_.containsKey('frozen') ? json_['frozen'] as core.bool : null,
        promptText: json_.containsKey('promptText')
            ? json_['promptText'] as core.String
            : null,
      );