UpsertElementsRequest_ constructor

UpsertElementsRequest_({
  1. String? cacheName,
  2. String? leaderboard,
  3. Iterable<Element_>? elements,
})

Implementation

factory UpsertElementsRequest_({
  $core.String? cacheName,
  $core.String? leaderboard,
  $core.Iterable<Element_>? elements,
}) {
  final $result = create();
  if (cacheName != null) {
    $result.cacheName = cacheName;
  }
  if (leaderboard != null) {
    $result.leaderboard = leaderboard;
  }
  if (elements != null) {
    $result.elements.addAll(elements);
  }
  return $result;
}