add method
Implementation
Future add(ApplicationModel app) async
{
busy = true;
// insert into the hive
bool ok = await app.insert();
// add to the list
if (ok) _apps.add(app);
busy = false;
}
Future add(ApplicationModel app) async
{
busy = true;
// insert into the hive
bool ok = await app.insert();
// add to the list
if (ok) _apps.add(app);
busy = false;
}