GoogleCloudDialogflowV2SpeechToTextConfig.fromJson constructor

GoogleCloudDialogflowV2SpeechToTextConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2SpeechToTextConfig.fromJson(core.Map json_)
    : this(
        model:
            json_.containsKey('model') ? json_['model'] as core.String : null,
        speechModelVariant: json_.containsKey('speechModelVariant')
            ? json_['speechModelVariant'] as core.String
            : null,
        useTimeoutBasedEndpointing:
            json_.containsKey('useTimeoutBasedEndpointing')
                ? json_['useTimeoutBasedEndpointing'] as core.bool
                : null,
      );