StreamingRecognitionFeatures constructor

StreamingRecognitionFeatures({
  1. bool? enableVoiceActivityEvents,
  2. bool? interimResults,
  3. StreamingRecognitionFeatures_VoiceActivityTimeout? voiceActivityTimeout,
})

Implementation

factory StreamingRecognitionFeatures({
  $core.bool? enableVoiceActivityEvents,
  $core.bool? interimResults,
  StreamingRecognitionFeatures_VoiceActivityTimeout? voiceActivityTimeout,
}) {
  final $result = create();
  if (enableVoiceActivityEvents != null) {
    $result.enableVoiceActivityEvents = enableVoiceActivityEvents;
  }
  if (interimResults != null) {
    $result.interimResults = interimResults;
  }
  if (voiceActivityTimeout != null) {
    $result.voiceActivityTimeout = voiceActivityTimeout;
  }
  return $result;
}