GameRecapStats class Null safety
Model object fot the game recap stats. It represents the statistics of a game after it has finished.
Constructors
Properties
- correctAnswered ↔ int
-
How many questions were answered right.
read / write
-
correctAnsweredByCategory
↔ Map<
String, int> -
Map containing all the right answered questions by category.
read / write
-
correctAnsweredByDifficulty
↔ Map<
String, int> -
Map containing all the right answered questions by difficulty.
read / write
- elo ↔ int
-
The elo gained.
read / write
- gameDuration ↔ Duration
-
The duration of the game.
read / write
- hashCode → int
-
The hash code for this object.
read-only, inherited
- questionsAnswered ↔ int
-
How many questions were answered.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- totalAmountOfQuestions ↔ int
-
How many questions there were to answer.
read / write
-
totalAnsweredByCategory
↔ Map<
String, int> -
Map containing all the questions answered by category.
read / write
-
totalAnsweredByDifficulty
↔ Map<
String, int> -
Map containing all the questions answered by difficulty.
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited