LeaderboardPage class

A page of leaderboard entries (top or aroundMe). name, metric and segment are null for aroundMe.

Annotations

Constructors

LeaderboardPage({required String leaderboardId, required LeaderboardPeriodInfo period, String? name, String? metric, String? segment, List<LeaderboardEntry> entries = const []})
const
LeaderboardPage.fromJson(Map<String, dynamic> j)
factory

Properties

entries → List<LeaderboardEntry>
final
hashCode → int
The hash code for this object.
no setterinherited
leaderboardId → String
final
metric → String?
qualified, installs, signups, step or points.
final
myEntry → LeaderboardEntry?
The current user's entry on this page, if listed.
no setter
name → String?
final
period → LeaderboardPeriodInfo
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
segment → 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