deleteApp method

Future deleteApp(
  1. ApplicationModel app
)

Implementation

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

  // delete the application
  bool ok = await System.deleteApplication(app);

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

  busy = false;
}