QuizEngine class

Constructors

QuizEngine.new({String? quizId, LoadType? loadType})

Properties

activeOptions List<Options>
getter/setter pair
activeQuestion Question?
getter/setter pair
answered int
getter/setter pair
answerList List<Answer>
getter/setter pair
currentQuestin int
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isAnswerRight int
getter/setter pair
loadType LoadType?
getter/setter pair
options List<Options>
getter/setter pair
questions List<Question>
getter/setter pair
quiz Quiz?
getter/setter pair
quizId String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessionId String
getter/setter pair
singleQuestionMark double
getter/setter pair
totalEarnedMark double
getter/setter pair

Methods

getProgressDouble() → dynamic
getProgressTxt() → dynamic
insertAnswers() → dynamic
load() Future<Quiz?>
next() → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
showResult() → void
submitAnswer(Options selectedOption) → dynamic
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

selectedOptions List<Options>
getter/setter pair