Whisper class
Entry point of whisper_flutter_plus
Constructors
- Whisper({required WhisperModel model, String? modelDir})
-
model is required
modelDir is path where downloaded model will be stored.
Default to library directory
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- model → WhisperModel
-
model used for transcription
final
- modelDir → String?
-
override of model storage path
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getVersion(
) → Future< String?> - Get whisper version
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
transcribe(
{required TranscribeRequest transcribeRequest}) → Future< WhisperTranscribeResponse> - Transcribe audio file to text
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited