ScaleQuestion.fromAnnotatedScaleQuestion constructor
ScaleQuestion.fromAnnotatedScaleQuestion(
- AnnotatedScaleQuestion question
Implementation
factory ScaleQuestion.fromAnnotatedScaleQuestion(
AnnotatedScaleQuestion question,
) {
final result = ScaleQuestion()
..id = question.id
..prompt = question.prompt
..rationale = question.rationale
..conditional = question.conditional
..minimum = question.minimum
..maximum = question.maximum
..step = question.step
..initial = question.initial
..annotations = question.annotations;
return result;
}