deleteModel abstract method

Future<void> deleteModel()

Deletes the loaded model from storage and uninstalls it. If model was installed using the setModelPath method, it will only be uninstalled.

Nothing happens if the model is not loaded.

Also, closes the inference if it is initialized.

Implementation

Future<void> deleteModel();