LeaderboardEntry class
One ranked referrer. display follows the board's name mode (masked, display name or code).
- Annotations
Constructors
- LeaderboardEntry({required int rank, required String referrerId, required String display, required int score, int? pending, bool isMe = false})
-
const
-
LeaderboardEntry.fromJson(Map<
String, dynamic> j) -
factory
Properties
- display → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isMe → bool
-
True for the current user's own entry.
final
- pending → int?
-
Not-yet-qualified count; null when the board hides it.
final
- rank → int
-
final
- referrerId → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- score → int
-
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