constructAnswer method

Answer<List<String>> constructAnswer(
  1. List<Choice> selected
)

Implementation

Answer<List<String>> constructAnswer(List<Choice> selected) =>
    Answer.forQuestion(this, selected.map((choice) => choice.id).toList());