delete method

Future<void> delete()

Release the resources acquired by Picovoice (via Porcupine and Rhino engines).

Implementation

Future<void> delete() async {
  await _porcupine?.delete();
  _porcupine = null;

  await _rhino?.delete();
  _rhino = null;
}