StepResult<T>.fromQuestion constructor
StepResult<T>.fromQuestion ({
- required StepResult questionResult,
Implementation
factory StepResult.fromQuestion({required StepResult questionResult}) {
return StepResult(
id: questionResult.id,
step: questionResult.step,
startTime: questionResult.startTime,
endTime: questionResult.endTime,
result: questionResult as T?,
);
}