getProgressDouble method
dynamic
getProgressDouble()
Implementation
getProgressDouble() {
if (questions.length == 0)
return 0.toDouble();
else
return (currentQuestin / questions.length).toDouble() < 0
? 0.toDouble()
: (currentQuestin / questions.length).toDouble();
}