copyWith method
WebApiModulesHomeControlsInventoryPackageInventoryInventoryPackageInventory
copyWith({
- bool? deletingWarehouseSpecific,
- String? inventoryPackageInventoryId,
- String? packageId,
- String? inventoryId,
- String? iCode,
- String? iCodeColor,
- String? lineColor,
- String? description,
- bool? isPrimary,
- double? defaultQuantity,
- bool? isOption,
- bool? charge,
- bool? noChargePrint,
- bool? isRequired,
- String? optionColor,
- String? itemClass,
- String? itemTrackedBy,
- String? availFor,
- String? availFrom,
- double? categoryOrderBy,
- int? orderBy,
- int? itemColor,
- bool? isNestedComplete,
- bool? inactive,
- String? warehouseId,
- String? parentId,
- String? packageItemClass,
- bool? itemNonDiscountable,
- String? primaryInventoryId,
- String? unitId,
- double? dailyRate,
- double? weeklyRate,
- double? monthlyRate,
- double? dailyExtended,
- double? weeklyExtended,
- double? monthlyExtended,
- double? price,
- double? retail,
- String? currencyId,
- String? currencyCode,
- String? currencySymbol,
- String? dateStamp,
- String? auditNote,
- String? recordTitle,
- List<
FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ? fields, - List<
FwStandardDataFwCustomValue> ? custom, - List<
FwStandardDataFwDefaultAttribute> ? defaultFieldAttributes, - List<
FwStandardDataFwTranslatedValue> ? translation,
Implementation
WebApiModulesHomeControlsInventoryPackageInventoryInventoryPackageInventory
copyWith(
{bool? deletingWarehouseSpecific,
String? inventoryPackageInventoryId,
String? packageId,
String? inventoryId,
String? iCode,
String? iCodeColor,
String? lineColor,
String? description,
bool? isPrimary,
double? defaultQuantity,
bool? isOption,
bool? charge,
bool? noChargePrint,
bool? isRequired,
String? optionColor,
String? itemClass,
String? itemTrackedBy,
String? availFor,
String? availFrom,
double? categoryOrderBy,
int? orderBy,
int? itemColor,
bool? isNestedComplete,
bool? inactive,
String? warehouseId,
String? parentId,
String? packageItemClass,
bool? itemNonDiscountable,
String? primaryInventoryId,
String? unitId,
double? dailyRate,
double? weeklyRate,
double? monthlyRate,
double? dailyExtended,
double? weeklyExtended,
double? monthlyExtended,
double? price,
double? retail,
String? currencyId,
String? currencyCode,
String? currencySymbol,
String? dateStamp,
String? auditNote,
String? recordTitle,
List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
List<FwStandardDataFwCustomValue>? custom,
List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
List<FwStandardDataFwTranslatedValue>? translation}) {
return WebApiModulesHomeControlsInventoryPackageInventoryInventoryPackageInventory(
deletingWarehouseSpecific:
deletingWarehouseSpecific ?? this.deletingWarehouseSpecific,
inventoryPackageInventoryId:
inventoryPackageInventoryId ?? this.inventoryPackageInventoryId,
packageId: packageId ?? this.packageId,
inventoryId: inventoryId ?? this.inventoryId,
iCode: iCode ?? this.iCode,
iCodeColor: iCodeColor ?? this.iCodeColor,
lineColor: lineColor ?? this.lineColor,
description: description ?? this.description,
isPrimary: isPrimary ?? this.isPrimary,
defaultQuantity: defaultQuantity ?? this.defaultQuantity,
isOption: isOption ?? this.isOption,
charge: charge ?? this.charge,
noChargePrint: noChargePrint ?? this.noChargePrint,
isRequired: isRequired ?? this.isRequired,
optionColor: optionColor ?? this.optionColor,
itemClass: itemClass ?? this.itemClass,
itemTrackedBy: itemTrackedBy ?? this.itemTrackedBy,
availFor: availFor ?? this.availFor,
availFrom: availFrom ?? this.availFrom,
categoryOrderBy: categoryOrderBy ?? this.categoryOrderBy,
orderBy: orderBy ?? this.orderBy,
itemColor: itemColor ?? this.itemColor,
isNestedComplete: isNestedComplete ?? this.isNestedComplete,
inactive: inactive ?? this.inactive,
warehouseId: warehouseId ?? this.warehouseId,
parentId: parentId ?? this.parentId,
packageItemClass: packageItemClass ?? this.packageItemClass,
itemNonDiscountable: itemNonDiscountable ?? this.itemNonDiscountable,
primaryInventoryId: primaryInventoryId ?? this.primaryInventoryId,
unitId: unitId ?? this.unitId,
dailyRate: dailyRate ?? this.dailyRate,
weeklyRate: weeklyRate ?? this.weeklyRate,
monthlyRate: monthlyRate ?? this.monthlyRate,
dailyExtended: dailyExtended ?? this.dailyExtended,
weeklyExtended: weeklyExtended ?? this.weeklyExtended,
monthlyExtended: monthlyExtended ?? this.monthlyExtended,
price: price ?? this.price,
retail: retail ?? this.retail,
currencyId: currencyId ?? this.currencyId,
currencyCode: currencyCode ?? this.currencyCode,
currencySymbol: currencySymbol ?? this.currencySymbol,
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);
}