GetByRankRequest_ constructor

GetByRankRequest_({
  1. String? cacheName,
  2. String? leaderboard,
  3. RankRange_? rankRange,
  4. Order_? order,
})

Implementation

factory GetByRankRequest_({
  $core.String? cacheName,
  $core.String? leaderboard,
  RankRange_? rankRange,
  Order_? order,
}) {
  final $result = create();
  if (cacheName != null) {
    $result.cacheName = cacheName;
  }
  if (leaderboard != null) {
    $result.leaderboard = leaderboard;
  }
  if (rankRange != null) {
    $result.rankRange = rankRange;
  }
  if (order != null) {
    $result.order = order;
  }
  return $result;
}