PlayerInfoDTO class

Annotations
  • @JsonSerializable(createToJson: false)

Constructors

PlayerInfoDTO({required List<ChallengeInfo> challenges, required PlayerCilentPreferences preferences, required ChallengePoints totalPoints, required Map<Category, ChallengePoints> categoryPoints})
const
PlayerInfoDTO.fromJson(Map<String, dynamic> json)
factory

Properties

categoryPoints Map<Category, ChallengePoints>
final
challenges List<ChallengeInfo>
final
hashCode int
The hash code for this object.
no setterinherited
preferences PlayerCilentPreferences
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalPoints ChallengePoints
final

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