Model class

Class representing the language model loaded by the plugin.

Constructors

Model(String path, MethodChannel _channel, [Pointer<VoskModel>? modelPointer, VoskLibrary? _voskLibrary])
Use VoskFlutterPlugin.createModel to create a Model instance.

Properties

hashCode int
The hash code for this object.
no setterinherited
modelPointer Pointer<VoskModel>?
Pointer to a native model object.
final
path String
Location of this 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