QuizIntegrityModel class

Constructors

QuizIntegrityModel()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

duplicateQuestionKey(QuizModel quiz) int
Compte le nombre de questionKey en doublon dans les étapes du quiz
duplicateStepKeys(QuizModel quiz) int
Compte le nombre de clés de stepKey en doublon dans le quiz
getQuizIntegrityInformations(BuildContext context, QuizModel quiz) QuizIntegrityInformations
globalDuplicateDiagnostics(QuizModel quiz) → ({Map<String, List<String>> duplicateOptions, Set<String> duplicatedQuestionKeys, Set<String> duplicatedStepKeys, List<String> emptyQuestionStepKeys, Map<String, List<String>> questionKeyToStepKeys})
Retourne les doublons avec détails :
globalQuestionsConditionnal(QuizModel quiz) int
globalQuestionsInternal(QuizModel quiz) int
globalQuestionsNumber(QuizModel quiz) int
hasUselessSteppingMode(QuizModel quiz) bool