LeaderboardPeriod class

Which leaderboard period to read: current (default), previous or a period by key (LeaderboardPeriod.key, e.g. 2026-W43).

Annotations

Constructors

LeaderboardPeriod.key(String value)
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → String
The period query value.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Constants

current → const LeaderboardPeriod
previous → const LeaderboardPeriod