delete method

Future<void> delete()

Frees memory that was allocated for Porcupine

Implementation

Future<void> delete() async {
  if (_handle != null) {
    await _channel.invokeMethod(_NativeFunctions.DELETE.name, {'handle': _handle});
    _handle = null;
  }
}