addChoice method

void addChoice({
  1. required String textValue,
  2. required String help,
  3. dynamic runtimeValue,
})

Implementation

void addChoice({
  required String textValue,
  required String help,
  dynamic runtimeValue }) {
  runtimeValue ??= name;
  choices.add(AFConfigEntryDescription(
    textValue: textValue,
    runtimeValue: runtimeValue,
    help: help
  ));
}