MyRank constructor

const MyRank({
  1. required String leaderboardId,
  2. required LeaderboardPeriodInfo period,
  3. required String referrerId,
  4. int? rank,
  5. int score = 0,
  6. int? pending,
  7. int? gapToNext,
  8. int? bestRank,
  9. DateTime? periodEndsAt,
  10. bool optedOut = false,
})

Implementation

const MyRank({
  required this.leaderboardId,
  required this.period,
  required this.referrerId,
  this.rank,
  this.score = 0,
  this.pending,
  this.gapToNext,
  this.bestRank,
  this.periodEndsAt,
  this.optedOut = false,
});