Model constructor

Model(
  1. String path,
  2. MethodChannel _channel, [
  3. Pointer<VoskModel>? modelPointer,
  4. VoskLibrary? _voskLibrary,
])

Use VoskFlutterPlugin.createModel to create a Model instance.

Implementation

Model(this.path, this._channel, [this.modelPointer, this._voskLibrary]);