withDefault static method

DefaultedRepeatableOption<String> withDefault(
  1. String name, {
  2. required List<String> defaultValue,
  3. RegExp? regex,
  4. String? short,
  5. String? description,
  6. bool hidden = false,
})

Implementation

static DefaultedRepeatableOption<String> withDefault(
  String name, {
  required List<String> defaultValue,
  RegExp? regex,
  String? short,
  String? description,
  bool hidden = false,
}) => _DefaultedRepeatableStringOption(
  name,
  defaultValue: defaultValue,
  regex: regex,
  short: short,
  description: description,
  hidden: hidden,
);