reset method

Future<void> reset()

Resets current results so the recognition can continue from scratch.

Implementation

Future<void> reset() {
  if (_voskLibrary != null) {
    _voskLibrary.vosk_recognizer_reset(recognizerPointer!);
    return Future.value();
  }

  return _invokeRecognizerMethod<void>('reset');
}