CactusSTT class
Constructors
- CactusSTT({TranscriptionProvider provider = TranscriptionProvider.whisper})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isRecording → bool
-
no setter
- provider → TranscriptionProvider
-
Get the current transcription provider
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → void -
download(
{required String model, CactusProgressCallback? downloadProcessCallback}) → Future< bool> -
getVoiceModels(
) → Future< List< VoiceModel> > -
init(
{required String model}) → Future< bool> -
isModelDownloaded(
{required String modelName}) → Future< bool> -
isReady(
) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
stop(
) → void -
toString(
) → String -
A string representation of this object.
inherited
-
transcribe(
{SpeechRecognitionParams? params, String? filePath}) → Future< SpeechRecognitionResult?>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited