copyWith method

WebApiModulesInventoryPhysicalInventoryPhysicalInventoryCloseRequest copyWith({
  1. String? physicalInventoryId,
  2. bool? addAndRetireInventory,
})

Implementation

WebApiModulesInventoryPhysicalInventoryPhysicalInventoryCloseRequest copyWith(
    {String? physicalInventoryId, bool? addAndRetireInventory}) {
  return WebApiModulesInventoryPhysicalInventoryPhysicalInventoryCloseRequest(
      physicalInventoryId: physicalInventoryId ?? this.physicalInventoryId,
      addAndRetireInventory:
          addAndRetireInventory ?? this.addAndRetireInventory);
}