SttOptions class
Language, formatting, and speaker controls for stt.
Constructors
Properties
- diarization → bool
-
True labels each word with a speaker.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- language → String?
-
BCP-47 language tag. Null auto-detects.
final
- maxSpeakers → int?
-
Upper bound on distinct speakers. Null lets the model decide.
final
- punctuation → bool
-
True restores punctuation and casing.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- translateToEnglish → bool
-
True translates non-English speech into English text. Currently
inert — see the constructor doc.
final
- wordTimestamps → bool
-
True attaches per-word timings.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toProto(
) → STTOptions - Build the generated STT options.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited