copyWithWrapped method

WebApiModulesWarehouseCheckInSerialNumbers copyWithWrapped({
  1. Wrapped<String?>? serialNumber,
  2. Wrapped<String?>? itemStatus,
  3. Wrapped<bool?>? inSession,
  4. Wrapped<bool?>? qCRequired,
  5. Wrapped<int?>? orderTranId,
  6. Wrapped<String?>? internalChar,
  7. Wrapped<String?>? orderId,
  8. Wrapped<String?>? orderItemId,
  9. Wrapped<String?>? inventoryId,
  10. Wrapped<String?>? vendorId,
  11. Wrapped<String?>? description,
  12. Wrapped<int?>? quantity,
})

Implementation

WebApiModulesWarehouseCheckInSerialNumbers copyWithWrapped(
    {Wrapped<String?>? serialNumber,
    Wrapped<String?>? itemStatus,
    Wrapped<bool?>? inSession,
    Wrapped<bool?>? qCRequired,
    Wrapped<int?>? orderTranId,
    Wrapped<String?>? internalChar,
    Wrapped<String?>? orderId,
    Wrapped<String?>? orderItemId,
    Wrapped<String?>? inventoryId,
    Wrapped<String?>? vendorId,
    Wrapped<String?>? description,
    Wrapped<int?>? quantity}) {
  return WebApiModulesWarehouseCheckInSerialNumbers(
      serialNumber:
          (serialNumber != null ? serialNumber.value : this.serialNumber),
      itemStatus: (itemStatus != null ? itemStatus.value : this.itemStatus),
      inSession: (inSession != null ? inSession.value : this.inSession),
      qCRequired: (qCRequired != null ? qCRequired.value : this.qCRequired),
      orderTranId:
          (orderTranId != null ? orderTranId.value : this.orderTranId),
      internalChar:
          (internalChar != null ? internalChar.value : this.internalChar),
      orderId: (orderId != null ? orderId.value : this.orderId),
      orderItemId:
          (orderItemId != null ? orderItemId.value : this.orderItemId),
      inventoryId:
          (inventoryId != null ? inventoryId.value : this.inventoryId),
      vendorId: (vendorId != null ? vendorId.value : this.vendorId),
      description:
          (description != null ? description.value : this.description),
      quantity: (quantity != null ? quantity.value : this.quantity));
}