copyWith method

WebApiModulesHomeControlsPhysicalInventoryCycleInventoryPhysicalInventoryCycleInventory copyWith({
  1. int? id,
  2. String? physicalInventoryId,
  3. String? inventoryId,
  4. String? consignorId,
  5. String? inventoryTypeId,
  6. String? inventoryType,
  7. String? categoryId,
  8. String? category,
  9. String? subCategoryId,
  10. String? subCategory,
  11. String? iCode,
  12. String? description,
  13. String? availableFor,
  14. String? availableForDisplay,
  15. String? trackedBy,
  16. String? rank,
  17. String? aisleLocation,
  18. String? shelfLocation,
  19. String? dateStamp,
  20. String? auditNote,
  21. String? recordTitle,
  22. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  23. List<FwStandardDataFwCustomValue>? custom,
  24. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  25. List<FwStandardDataFwTranslatedValue>? translation,
})

Implementation

WebApiModulesHomeControlsPhysicalInventoryCycleInventoryPhysicalInventoryCycleInventory
    copyWith(
        {int? id,
        String? physicalInventoryId,
        String? inventoryId,
        String? consignorId,
        String? inventoryTypeId,
        String? inventoryType,
        String? categoryId,
        String? category,
        String? subCategoryId,
        String? subCategory,
        String? iCode,
        String? description,
        String? availableFor,
        String? availableForDisplay,
        String? trackedBy,
        String? rank,
        String? aisleLocation,
        String? shelfLocation,
        String? dateStamp,
        String? auditNote,
        String? recordTitle,
        List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
        List<FwStandardDataFwCustomValue>? custom,
        List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
        List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesHomeControlsPhysicalInventoryCycleInventoryPhysicalInventoryCycleInventory(
      id: id ?? this.id,
      physicalInventoryId: physicalInventoryId ?? this.physicalInventoryId,
      inventoryId: inventoryId ?? this.inventoryId,
      consignorId: consignorId ?? this.consignorId,
      inventoryTypeId: inventoryTypeId ?? this.inventoryTypeId,
      inventoryType: inventoryType ?? this.inventoryType,
      categoryId: categoryId ?? this.categoryId,
      category: category ?? this.category,
      subCategoryId: subCategoryId ?? this.subCategoryId,
      subCategory: subCategory ?? this.subCategory,
      iCode: iCode ?? this.iCode,
      description: description ?? this.description,
      availableFor: availableFor ?? this.availableFor,
      availableForDisplay: availableForDisplay ?? this.availableForDisplay,
      trackedBy: trackedBy ?? this.trackedBy,
      rank: rank ?? this.rank,
      aisleLocation: aisleLocation ?? this.aisleLocation,
      shelfLocation: shelfLocation ?? this.shelfLocation,
      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);
}