LeaderboardRecord class
- Annotations
-
- @freezed
Constructors
- LeaderboardRecord({String? leaderboardId, String? ownerId, String? username, @JsonKey(fromJson: _stringToInt) int? score, @JsonKey(fromJson: _stringToInt) int? subscore, @Default(0) int numScore, String? metadata, DateTime? createTime, DateTime? updateTime, DateTime? expiryTime, @JsonKey(fromJson: _stringToInt) int? rank, @Default(0) int maxNumScore})
-
constfactory
- LeaderboardRecord.fromDto(LeaderboardRecord dto)
-
factory
-
LeaderboardRecord.fromJson(Map<
String, Object?> json) -
factory
Properties
-
copyWith
→ $LeaderboardRecordCopyWith<
LeaderboardRecord> -
no setterinherited
- createTime → DateTime?
-
no setterinherited
- expiryTime → DateTime?
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- leaderboardId → String?
-
no setterinherited
- maxNumScore → int
-
no setterinherited
- metadata → String?
-
no setterinherited
- numScore → int
-
no setterinherited
- ownerId → String?
-
no setterinherited
- rank → int?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- score → int?
-
no setterinherited
- subscore → int?
-
no setterinherited
- updateTime → DateTime?
-
no setterinherited
- username → String?
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited