Capacity constructor

Capacity({
  1. String? size,
  2. int? width,
  3. int? height,
  4. int? depth,
  5. int? compartments,
  6. int? used,
  7. int? free,
})

Implementation

factory Capacity({
  $core.String? size,
  $core.int? width,
  $core.int? height,
  $core.int? depth,
  $core.int? compartments,
  $core.int? used,
  $core.int? free,
}) {
  final result = create();
  if (size != null) result.size = size;
  if (width != null) result.width = width;
  if (height != null) result.height = height;
  if (depth != null) result.depth = depth;
  if (compartments != null) result.compartments = compartments;
  if (used != null) result.used = used;
  if (free != null) result.free = free;
  return result;
}