CacheLimits_ constructor

CacheLimits_({
  1. int? maxTrafficRate,
  2. int? maxThroughputKbps,
  3. int? maxItemSizeKb,
  4. Int64? maxTtlSeconds,
})

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;
}