delete method

Future<void> delete()

Releases Porcupine and audio resources Throws a PorcupineException if there was a problem stopping audio recording.

Implementation

Future<void> delete() async {
  await stop();
  _voiceProcessor = null;

  _porcupine?.delete();
  _porcupine = null;
}