CactusSTT class

Constructors

CactusSTT()

Properties

defaultInitParams ↔ CactusInitParams
getter/setter pair
defaultTranscriptionParams ↔ CactusTranscriptionParams
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

downloadModel({required String model, CactusProgressCallback? downloadProcessCallback}) → Future<void>
getVoiceModels() → Future<List<VoiceModel>>
initializeModel({CactusInitParams? params}) → Future<void>
isLoaded() → bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() → void
toString() → String
A string representation of this object.
inherited
transcribe({String? audioFilePath, Stream<Uint8List>? audioStream, dynamic onChunk(CactusTranscriptionResult)?, String prompt = whisperPrompt, CactusTranscriptionParams? params}) → Future<CactusTranscriptionResult>
transcribeStream({String? audioFilePath, Stream<Uint8List>? audioStream, String prompt = whisperPrompt, CactusTranscriptionParams? params}) → Future<CactusStreamedTranscriptionResult>
unload() → void

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

whisperPrompt → const String