LeaderboardPeriodInfo class

A leaderboard period as returned by the API.

Annotations

Constructors

LeaderboardPeriodInfo({required String key, required String status, DateTime? startsAt, DateTime? endsAt})
const
LeaderboardPeriodInfo.fromJson(Map<String, dynamic> j)
factory

Properties

endsAt → DateTime?
final
hashCode → int
The hash code for this object.
no setterinherited
key → String
e.g. 2026-W43.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
startsAt → DateTime?
final
status → String
open, closed_provisional or final.
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