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