Script constructor

const Script({
  1. required String name,
  2. required String command,
  3. String? description,
  4. Map<String, String> env = const {},
  5. String? envFile,
  6. List<String>? runInPackages,
  7. String? runHooksFrom,
  8. List<String>? hookTargets,
  9. bool all = false,
  10. int? concurrency,
  11. bool? failFast,
  12. bool? dependencyOrder,
  13. List<String> dependsOn = const [],
})

Implementation

const Script({
  required this.name,
  required this.command,
  this.description,
  this.env = const {},
  this.envFile,
  this.runInPackages,
  this.runHooksFrom,
  this.hookTargets,
  this.all = false,
  this.concurrency,
  this.failFast,
  this.dependencyOrder,
  this.dependsOn = const [],
});