addApp method

Future addApp(
  1. ApplicationModel app
)

Implementation

Future addApp(ApplicationModel app) async {
  busy = true;

  // add the application
  bool ok = await System.addApplication(app);

  // notify
  if (!ok) System.toast('Failed to add the application');

  busy = false;
}