SpeakerModel class
Class representing the speaker model loaded by the plugin.
Constructors
-
SpeakerModel(String path, MethodChannel _channel, [Pointer<
VoskSpkModel> ? modelPointer, VoskLibrary? _voskLibrary]) - Use VoskFlutterPlugin.createSpeakerModel to create a SpeakerModel instance.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
modelPointer
→ Pointer<
VoskSpkModel> ? -
Pointer to a native speaker model object.
final
- path → String
-
Location of this speaker model in the file system.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → void - Free all model resources.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited