ActionArg.flag constructor

const ActionArg.flag({
  1. required String name,
  2. String? abbr,
  3. required String help,
  4. String? expandHelp,
  5. bool hide = false,
})

Implementation

const ActionArg.flag({
  required this.name,
  this.abbr,
  required this.help,
  this.expandHelp,
  this.hide = false,
}) : isFlag = true;