uninstallEmbedder static method
Uninstall the active embedding model — deletes ALL its files (model + tokenizer) and clears the active-embedder identity. No-op if none active.
Implementation
static Future<void> uninstallEmbedder() async {
final manager = FlutterGemmaPlugin.instance.modelManager;
final spec = manager.activeEmbeddingModel;
if (spec == null) return;
await manager.deleteModel(spec);
await manager.clearActiveEmbeddingIdentity();
}