unload method
Release one resident model by id. Idempotent — a no-op when id is
not loaded.
Throws SDKException when the unload fails.
Implementation
Future<void> unload(String id) async {
final model = await get(id);
final category = model?.category;
if (category == null) return;
final currentId = await ModelGate.currentId(category);
if (currentId != id) return;
await ModelGate.unload(category);
}