Leaderboard constructor
Leaderboard({})
Implementation
factory Leaderboard({
$core.String? id,
$core.int? sortOrder,
Operator? operator,
$core.int? prevReset,
$core.int? nextReset,
$core.String? metadata,
$0.Timestamp? createTime,
$core.bool? authoritative,
}) {
final _result = create();
if (id != null) {
_result.id = id;
}
if (sortOrder != null) {
_result.sortOrder = sortOrder;
}
if (operator != null) {
_result.operator = operator;
}
if (prevReset != null) {
_result.prevReset = prevReset;
}
if (nextReset != null) {
_result.nextReset = nextReset;
}
if (metadata != null) {
_result.metadata = metadata;
}
if (createTime != null) {
_result.createTime = createTime;
}
if (authoritative != null) {
_result.authoritative = authoritative;
}
return _result;
}