copyWith method

WebApiModulesInventoryPhysicalInventoryPhysicalInventoryCountItemResponse copyWith({
  1. int? status,
  2. bool? success,
  3. String? msg,
  4. String? inventoryId,
  5. String? iCode,
  6. String? trackedBy,
  7. String? description,
  8. String? itemId,
  9. String? consignor,
  10. bool? showAddReplace,
  11. double? countedQuantity,
  12. String? genericMessage,
  13. 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,
  );
}