copyWith method
WebApiModulesInventoryPhysicalInventoryPhysicalInventoryCountItemResponse
copyWith(
{ - int? status,
- bool? success,
- String? msg,
- String? inventoryId,
- String? iCode,
- String? trackedBy,
- String? description,
- String? itemId,
- String? consignor,
- bool? showAddReplace,
- double? countedQuantity,
- String? genericMessage,
- int? physicalItemId,
})
Implementation
WebApiModulesInventoryPhysicalInventoryPhysicalInventoryCountItemResponse
copyWith({
int? status,
bool? success,
String? msg,
String? inventoryId,
String? iCode,
String? trackedBy,
String? description,
String? itemId,
String? consignor,
bool? showAddReplace,
double? countedQuantity,
String? genericMessage,
int? physicalItemId,
}) {
return WebApiModulesInventoryPhysicalInventoryPhysicalInventoryCountItemResponse(
status: status ?? this.status,
success: success ?? this.success,
msg: msg ?? this.msg,
inventoryId: inventoryId ?? this.inventoryId,
iCode: iCode ?? this.iCode,
trackedBy: trackedBy ?? this.trackedBy,
description: description ?? this.description,
itemId: itemId ?? this.itemId,
consignor: consignor ?? this.consignor,
showAddReplace: showAddReplace ?? this.showAddReplace,
countedQuantity: countedQuantity ?? this.countedQuantity,
genericMessage: genericMessage ?? this.genericMessage,
physicalItemId: physicalItemId ?? this.physicalItemId,
);
}