choicesOf method
The choices of the select question at xPath.
Implementation
List<SelectChoice> choicesOf(String xPath) {
final reference = expandSingle(getRef(xPath));
final control = _model.questionPrompt(_indexOf(reference)).question;
return control.choices ??
control.dynamicChoices!.getChoices(formDef, reference);
}