NiceLeaderboardEntry class

A single leaderboard entry.

Constructors

NiceLeaderboardEntry({required String userId, required String displayName, required int score, int? rank, String? avatarUrl, bool isCurrentUser = false, int change = 0})
const

Properties

avatarUrl String?
final
change int
Rank change since last snapshot: positive = improved, negative = dropped.
final
displayName String
final
hashCode int
The hash code for this object.
no setterinherited
isCurrentUser bool
final
rank int?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
score int
final
userId String
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