ListPushFrontRequest_ constructor

ListPushFrontRequest_({
  1. List<int>? listName,
  2. List<int>? value,
  3. Int64? ttlMilliseconds,
  4. bool? refreshTtl,
  5. int? truncateBackToSize,
})

Implementation

factory ListPushFrontRequest_({
  $core.List<$core.int>? listName,
  $core.List<$core.int>? value,
  $fixnum.Int64? ttlMilliseconds,
  $core.bool? refreshTtl,
  $core.int? truncateBackToSize,
}) {
  final $result = create();
  if (listName != null) {
    $result.listName = listName;
  }
  if (value != null) {
    $result.value = value;
  }
  if (ttlMilliseconds != null) {
    $result.ttlMilliseconds = ttlMilliseconds;
  }
  if (refreshTtl != null) {
    $result.refreshTtl = refreshTtl;
  }
  if (truncateBackToSize != null) {
    $result.truncateBackToSize = truncateBackToSize;
  }
  return $result;
}