ShellModel constructor

ShellModel({
  1. String? id,
  2. required String title,
  3. required String command,
  4. String? path,
  5. dynamic live = true,
  6. dynamic external = false,
})

Implementation

ShellModel({
  final String? id,
  required final String title,
  required String command,
  String? path,
  live = true,
  external = false,
}) {
  debugPrint(
      "Initializing Shell model for $title, live: $live, external: $external");
  this.id = id ?? const Uuid().v4();
  this.title(title);
  this.command(command);
  this.path(path);
  this.external(external);
  _setup(live: !external && live);
}