CourseQuizResult class
Score of a submitted module quiz
- Annotations
-
- @JsonSerializable.new()
Constructors
-
CourseQuizResult({int scorePercent = 0, bool passed = false, List<
CourseQuizAnswerResult> results = const [], List<String> weakLessonIds = const []}) -
CourseQuizResult.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- passed → bool
-
final
-
results
→ List<
CourseQuizAnswerResult> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scorePercent → int
-
final
-
weakLessonIds
→ List<
String> -
Lessons tested by the questions answered wrong: review these
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited