DartdocOptionArgOnly<T> constructor

DartdocOptionArgOnly<T>(
  1. String name,
  2. T defaultsTo,
  3. ResourceProvider resourceProvider, {
  4. String? abbr,
  5. bool mustExist = false,
  6. String help = '',
  7. bool hide = false,
  8. OptionKind optionIs = OptionKind.other,
  9. bool negatable = false,
  10. bool splitCommas = false,
})

Implementation

DartdocOptionArgOnly(
  String name,
  T defaultsTo,
  ResourceProvider resourceProvider, {
  this.abbr,
  bool mustExist = false,
  String help = '',
  this.hide = false,
  OptionKind optionIs = OptionKind.other,
  this.negatable = false,
  this.splitCommas = false,
}) : super(
       name,
       defaultsTo,
       help,
       optionIs,
       mustExist,
       null,
       resourceProvider,
     );