Shortcut constructor

Shortcut({
  1. required String name,
  2. String? executablePath,
  3. String? icon,
  4. String? comment,
  5. bool? terminal = false,
  6. String? type = 'Application',
  7. String? categories,
  8. String? mime,
  9. bool startup = true,
  10. String? destination,
  11. bool sudo = true,
})

Implementation

Shortcut({
  required this.name,
  this.executablePath,
  this.icon,
  this.comment,
  this.terminal = false,
  this.type = 'Application',
  this.categories,
  this.mime,
  this.startup = true,
  this.destination,
  this.sudo = true,
});