selectChoices property

List<SelectChoice> get selectChoices

The choices: static ones, or the itemset's for this question.

Implementation

List<SelectChoice> get selectChoices {
  final itemset = question.dynamicChoices;
  if (itemset != null) return itemset.getChoices(form, treeElement.ref);
  return question.choices ?? const [];
}