SortedSetPutRequest_ constructor

SortedSetPutRequest_({
  1. List<int>? setName,
  2. Iterable<SortedSetElement_>? elements,
  3. Int64? ttlMilliseconds,
  4. bool? refreshTtl,
})

Implementation

factory SortedSetPutRequest_({
  $core.List<$core.int>? setName,
  $core.Iterable<SortedSetElement_>? elements,
  $fixnum.Int64? ttlMilliseconds,
  $core.bool? refreshTtl,
}) {
  final $result = create();
  if (setName != null) {
    $result.setName = setName;
  }
  if (elements != null) {
    $result.elements.addAll(elements);
  }
  if (ttlMilliseconds != null) {
    $result.ttlMilliseconds = ttlMilliseconds;
  }
  if (refreshTtl != null) {
    $result.refreshTtl = refreshTtl;
  }
  return $result;
}