copyWithWrapped method
WebApiModulesInventoryPhysicalInventoryPhysicalInventoryCountItemResponse
copyWithWrapped({
- Wrapped<
int?> ? status, - Wrapped<
bool?> ? success, - Wrapped<
String?> ? msg, - Wrapped<
String?> ? inventoryId, - Wrapped<
String?> ? iCode, - Wrapped<
String?> ? trackedBy, - Wrapped<
String?> ? description, - Wrapped<
String?> ? itemId, - Wrapped<
String?> ? consignor, - Wrapped<
bool?> ? showAddReplace, - Wrapped<
double?> ? countedQuantity, - Wrapped<
String?> ? genericMessage, - Wrapped<
int?> ? physicalItemId,
Implementation
WebApiModulesInventoryPhysicalInventoryPhysicalInventoryCountItemResponse
copyWithWrapped({
Wrapped<int?>? status,
Wrapped<bool?>? success,
Wrapped<String?>? msg,
Wrapped<String?>? inventoryId,
Wrapped<String?>? iCode,
Wrapped<String?>? trackedBy,
Wrapped<String?>? description,
Wrapped<String?>? itemId,
Wrapped<String?>? consignor,
Wrapped<bool?>? showAddReplace,
Wrapped<double?>? countedQuantity,
Wrapped<String?>? genericMessage,
Wrapped<int?>? physicalItemId,
}) {
return WebApiModulesInventoryPhysicalInventoryPhysicalInventoryCountItemResponse(
status: (status != null ? status.value : this.status),
success: (success != null ? success.value : this.success),
msg: (msg != null ? msg.value : this.msg),
inventoryId: (inventoryId != null ? inventoryId.value : this.inventoryId),
iCode: (iCode != null ? iCode.value : this.iCode),
trackedBy: (trackedBy != null ? trackedBy.value : this.trackedBy),
description: (description != null ? description.value : this.description),
itemId: (itemId != null ? itemId.value : this.itemId),
consignor: (consignor != null ? consignor.value : this.consignor),
showAddReplace: (showAddReplace != null
? showAddReplace.value
: this.showAddReplace),
countedQuantity: (countedQuantity != null
? countedQuantity.value
: this.countedQuantity),
genericMessage: (genericMessage != null
? genericMessage.value
: this.genericMessage),
physicalItemId: (physicalItemId != null
? physicalItemId.value
: this.physicalItemId),
);
}