SetIfRequest_ constructor

SetIfRequest_({
  1. List<int>? cacheKey,
  2. List<int>? cacheBody,
  3. Int64? ttlMilliseconds,
  4. Present? present,
  5. PresentAndNotEqual? presentAndNotEqual,
  6. Absent? absent,
  7. Equal? equal,
  8. AbsentOrEqual? absentOrEqual,
  9. NotEqual? notEqual,
})

Implementation

factory SetIfRequest_({
  $core.List<$core.int>? cacheKey,
  $core.List<$core.int>? cacheBody,
  $fixnum.Int64? ttlMilliseconds,
  $3.Present? present,
  $3.PresentAndNotEqual? presentAndNotEqual,
  $3.Absent? absent,
  $3.Equal? equal,
  $3.AbsentOrEqual? absentOrEqual,
  $3.NotEqual? notEqual,
}) {
  final $result = create();
  if (cacheKey != null) {
    $result.cacheKey = cacheKey;
  }
  if (cacheBody != null) {
    $result.cacheBody = cacheBody;
  }
  if (ttlMilliseconds != null) {
    $result.ttlMilliseconds = ttlMilliseconds;
  }
  if (present != null) {
    $result.present = present;
  }
  if (presentAndNotEqual != null) {
    $result.presentAndNotEqual = presentAndNotEqual;
  }
  if (absent != null) {
    $result.absent = absent;
  }
  if (equal != null) {
    $result.equal = equal;
  }
  if (absentOrEqual != null) {
    $result.absentOrEqual = absentOrEqual;
  }
  if (notEqual != null) {
    $result.notEqual = notEqual;
  }
  return $result;
}