setWords method
Enables/disables words with times in the output of the getResult.
Implementation
Future<void> setWords({required final bool words}) {
if (_voskLibrary != null) {
_voskLibrary.vosk_recognizer_set_words(recognizerPointer!, words ? 1 : 0);
return Future.value();
}
return _invokeRecognizerMethod<void>('setWords', {'words': words});
}