CacheLimits_ constructor
CacheLimits_({})
Implementation
factory CacheLimits_({
$core.int? maxTrafficRate,
$core.int? maxThroughputKbps,
$core.int? maxItemSizeKb,
$fixnum.Int64? maxTtlSeconds,
}) {
final $result = create();
if (maxTrafficRate != null) {
$result.maxTrafficRate = maxTrafficRate;
}
if (maxThroughputKbps != null) {
$result.maxThroughputKbps = maxThroughputKbps;
}
if (maxItemSizeKb != null) {
$result.maxItemSizeKb = maxItemSizeKb;
}
if (maxTtlSeconds != null) {
$result.maxTtlSeconds = maxTtlSeconds;
}
return $result;
}