PlayerDatabaseStats class Null safety

A class that represents the database information for one user.

Constructors

PlayerDatabaseStats({required DurationInformation durationInformation, required DifficultyInformation difficultyInformation, required int minutesPlayed, required int questionsAnswered, required int elo, required int questionsRightAnswered, required CategoryInformation categoryInformation, required String username})
PlayerDatabaseStats.fromJson(Map<String, dynamic> json)

Properties

categoryInformation ↔ CategoryInformation
read / write
difficultyInformation ↔ DifficultyInformation
read / write
durationInformation ↔ DurationInformation
read / write
elo ↔ int
read / write
hashCode → int
The hash code for this object.
read-only, inherited
minutesPlayed ↔ int
read / write
questionsAnswered ↔ int
read / write
questionsRightAnswered ↔ int
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
username ↔ String
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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