GetRankRequest_ constructor

GetRankRequest_({
  1. String? cacheName,
  2. String? leaderboard,
  3. Iterable<int>? ids,
  4. Order_? order,
})

Implementation

factory GetRankRequest_({
  $core.String? cacheName,
  $core.String? leaderboard,
  $core.Iterable<$core.int>? ids,
  Order_? order,
}) {
  final $result = create();
  if (cacheName != null) {
    $result.cacheName = cacheName;
  }
  if (leaderboard != null) {
    $result.leaderboard = leaderboard;
  }
  if (ids != null) {
    $result.ids.addAll(ids);
  }
  if (order != null) {
    $result.order = order;
  }
  return $result;
}