GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings.fromJson constructor

GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings.fromJson(
    core.Map json_)
    : this(
        endpointerSensitivity: json_.containsKey('endpointerSensitivity')
            ? json_['endpointerSensitivity'] as core.int
            : null,
        models: json_.containsKey('models')
            ? (json_['models'] as core.Map<core.String, core.dynamic>).map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
        noSpeechTimeout: json_.containsKey('noSpeechTimeout')
            ? json_['noSpeechTimeout'] as core.String
            : null,
        useTimeoutBasedEndpointing:
            json_.containsKey('useTimeoutBasedEndpointing')
                ? json_['useTimeoutBasedEndpointing'] as core.bool
                : null,
      );