copyWith method

WebApiModulesUtilitiesInventoryLocationItemInventoryLocationItem copyWith({
  1. String? inventoryId,
  2. String? warehouseId,
  3. String? iCode,
  4. String? description,
  5. String? availableFor,
  6. String? rank,
  7. String? categoryId,
  8. String? category,
  9. String? subCategoryId,
  10. String? subCategory,
  11. String? inventoryTypeId,
  12. String? inventoryType,
  13. String? warehouseCode,
  14. String? warehouse,
  15. double? quantity,
  16. String? aisleLocation,
  17. String? shelfLocation,
  18. String? auditNote,
  19. String? recordTitle,
  20. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  21. List<FwStandardDataFwCustomValue>? custom,
  22. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  23. List<FwStandardDataFwTranslatedValue>? translation,
})

Implementation

WebApiModulesUtilitiesInventoryLocationItemInventoryLocationItem copyWith(
    {String? inventoryId,
    String? warehouseId,
    String? iCode,
    String? description,
    String? availableFor,
    String? rank,
    String? categoryId,
    String? category,
    String? subCategoryId,
    String? subCategory,
    String? inventoryTypeId,
    String? inventoryType,
    String? warehouseCode,
    String? warehouse,
    double? quantity,
    String? aisleLocation,
    String? shelfLocation,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesUtilitiesInventoryLocationItemInventoryLocationItem(
      inventoryId: inventoryId ?? this.inventoryId,
      warehouseId: warehouseId ?? this.warehouseId,
      iCode: iCode ?? this.iCode,
      description: description ?? this.description,
      availableFor: availableFor ?? this.availableFor,
      rank: rank ?? this.rank,
      categoryId: categoryId ?? this.categoryId,
      category: category ?? this.category,
      subCategoryId: subCategoryId ?? this.subCategoryId,
      subCategory: subCategory ?? this.subCategory,
      inventoryTypeId: inventoryTypeId ?? this.inventoryTypeId,
      inventoryType: inventoryType ?? this.inventoryType,
      warehouseCode: warehouseCode ?? this.warehouseCode,
      warehouse: warehouse ?? this.warehouse,
      quantity: quantity ?? this.quantity,
      aisleLocation: aisleLocation ?? this.aisleLocation,
      shelfLocation: shelfLocation ?? this.shelfLocation,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes,
      translation: translation ?? this.translation);
}