SpeechToTextConfig constructor

SpeechToTextConfig({
  1. SpeechModelVariant? speechModelVariant,
})

Implementation

factory SpeechToTextConfig({
  SpeechModelVariant? speechModelVariant,
}) {
  final _result = create();
  if (speechModelVariant != null) {
    _result.speechModelVariant = speechModelVariant;
  }
  return _result;
}