ChoiceConfigKnob<T> constructor
- List<
T> choices, { - required T value,
Creates a new knob to with the specified default value of the available choices.
Implementation
ChoiceConfigKnob(this.choices, {required super.value}) {
if (!choices.contains(value)) {
throw RohdHclException('Default value should be one of the choices.');
}
}