copyWith method

WebApiModulesHomeControlsPhysicalInventoryInventoryPhysicalInventoryInventory copyWith({
  1. int? id,
  2. String? physicalInventoryId,
  3. String? inventoryId,
  4. String? iCode,
  5. String? description,
  6. String? availableFor,
  7. String? availableForDisplay,
  8. double? quantityOwned,
  9. String? trackedBy,
  10. double? unitCost,
  11. bool? isRecount,
  12. String? aisleLocation,
  13. String? shelfLocation,
  14. int? isNegativeInventory,
  15. double? quantityAdded,
  16. double? quantityRetired,
  17. double? lastPurchaseUnitCost,
  18. double? newUnitCost,
  19. String? currentSpaceId,
  20. String? consignorId,
  21. String? dateStamp,
  22. String? auditNote,
  23. String? recordTitle,
  24. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  25. List<FwStandardDataFwCustomValue>? custom,
  26. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  27. List<FwStandardDataFwTranslatedValue>? translation,
})

Implementation

WebApiModulesHomeControlsPhysicalInventoryInventoryPhysicalInventoryInventory
    copyWith(
        {int? id,
        String? physicalInventoryId,
        String? inventoryId,
        String? iCode,
        String? description,
        String? availableFor,
        String? availableForDisplay,
        double? quantityOwned,
        String? trackedBy,
        double? unitCost,
        bool? isRecount,
        String? aisleLocation,
        String? shelfLocation,
        int? isNegativeInventory,
        double? quantityAdded,
        double? quantityRetired,
        double? lastPurchaseUnitCost,
        double? newUnitCost,
        String? currentSpaceId,
        String? consignorId,
        String? dateStamp,
        String? auditNote,
        String? recordTitle,
        List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
        List<FwStandardDataFwCustomValue>? custom,
        List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
        List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesHomeControlsPhysicalInventoryInventoryPhysicalInventoryInventory(
      id: id ?? this.id,
      physicalInventoryId: physicalInventoryId ?? this.physicalInventoryId,
      inventoryId: inventoryId ?? this.inventoryId,
      iCode: iCode ?? this.iCode,
      description: description ?? this.description,
      availableFor: availableFor ?? this.availableFor,
      availableForDisplay: availableForDisplay ?? this.availableForDisplay,
      quantityOwned: quantityOwned ?? this.quantityOwned,
      trackedBy: trackedBy ?? this.trackedBy,
      unitCost: unitCost ?? this.unitCost,
      isRecount: isRecount ?? this.isRecount,
      aisleLocation: aisleLocation ?? this.aisleLocation,
      shelfLocation: shelfLocation ?? this.shelfLocation,
      isNegativeInventory: isNegativeInventory ?? this.isNegativeInventory,
      quantityAdded: quantityAdded ?? this.quantityAdded,
      quantityRetired: quantityRetired ?? this.quantityRetired,
      lastPurchaseUnitCost: lastPurchaseUnitCost ?? this.lastPurchaseUnitCost,
      newUnitCost: newUnitCost ?? this.newUnitCost,
      currentSpaceId: currentSpaceId ?? this.currentSpaceId,
      consignorId: consignorId ?? this.consignorId,
      dateStamp: dateStamp ?? this.dateStamp,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes,
      translation: translation ?? this.translation);
}