InventoryWorkInProgressStatistics constructor

InventoryWorkInProgressStatistics({
  1. Iterable<AbridgedProductionPlanItem>? productionPlans,
  2. Iterable<AbridgedInventoryItem>? inventoryItems,
})

Implementation

factory InventoryWorkInProgressStatistics({
  $core.Iterable<AbridgedProductionPlanItem>? productionPlans,
  $core.Iterable<AbridgedInventoryItem>? inventoryItems,
}) {
  final result = create();
  if (productionPlans != null) result.productionPlans.addAll(productionPlans);
  if (inventoryItems != null) result.inventoryItems.addAll(inventoryItems);
  return result;
}