SetIfRequest_ constructor
SetIfRequest_({
- List<
int> ? cacheKey, - List<
int> ? cacheBody, - Int64? ttlMilliseconds,
- Present? present,
- PresentAndNotEqual? presentAndNotEqual,
- Absent? absent,
- Equal? equal,
- AbsentOrEqual? absentOrEqual,
- 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;
}