NiceLeaderboardEntry constructor

const NiceLeaderboardEntry({
  1. required String userId,
  2. required String displayName,
  3. required int score,
  4. int? rank,
  5. String? avatarUrl,
  6. bool isCurrentUser = false,
  7. int change = 0,
})

Implementation

const NiceLeaderboardEntry({
  required this.userId,
  required this.displayName,
  required this.score,
  this.rank,
  this.avatarUrl,
  this.isCurrentUser = false,
  this.change = 0,
});