SortedSetFetchRequest_ constructor

SortedSetFetchRequest_({
  1. List<int>? setName,
  2. SortedSetFetchRequest__Order? order,
  3. bool? withScores,
  4. SortedSetFetchRequest___ByIndex? byIndex,
  5. SortedSetFetchRequest___ByScore? byScore,
})

Implementation

factory SortedSetFetchRequest_({
  $core.List<$core.int>? setName,
  SortedSetFetchRequest__Order? order,
  $core.bool? withScores,
  SortedSetFetchRequest___ByIndex? byIndex,
  SortedSetFetchRequest___ByScore? byScore,
}) {
  final $result = create();
  if (setName != null) {
    $result.setName = setName;
  }
  if (order != null) {
    $result.order = order;
  }
  if (withScores != null) {
    $result.withScores = withScores;
  }
  if (byIndex != null) {
    $result.byIndex = byIndex;
  }
  if (byScore != null) {
    $result.byScore = byScore;
  }
  return $result;
}