delete method
Implementation
delete(ApplicationModel? app) async
{
if (app != null)
{
busy = true;
// delete from the hive
bool ok = await app.delete();
// remove from the list
if (ok && _apps.contains(app)) _apps.remove(app);
busy = false;
}
}