withDefault<T extends Enum> static method
Implementation
static DefaultedRepeatableOption<T> withDefault<T extends Enum>(
String name,
List<T> choices, {
required List<T> defaultValue,
String? short,
String? description,
bool hidden = false,
bool unique = false,
}) => _DefaultedRepeatableChoiceOption(
name,
choices,
defaultValue: defaultValue,
short: short,
description: description,
hidden: hidden,
unique: unique,
);