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