copyWith method
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,
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);
}