Command constructor

const Command({
  1. String? script,
  2. String? description,
  3. List<Param> requiredParams = const [],
  4. List<Param> optionalParams = const [],
  5. bool override = false,
  6. Map<String, Command> switches = const {},
  7. String? defaultSwitch,
  8. String? flags,
})

Implementation

const Command({
  this.script,
  this.description,
  this.requiredParams = const [],
  this.optionalParams = const [],
  this.override = false,
  this.switches = const {},
  this.defaultSwitch,
  this.flags,
});