copyWithWrapped method

WebApiModulesWarehouseCheckInSuspendedSession copyWithWrapped({
  1. Wrapped<String?>? contractId,
  2. Wrapped<String?>? date,
  3. Wrapped<String?>? time,
  4. Wrapped<int?>? sessionNumber,
  5. Wrapped<String?>? dealVendor,
  6. Wrapped<String?>? orderNumber,
  7. Wrapped<String?>? description,
  8. Wrapped<String?>? user,
  9. Wrapped<String?>? status,
})

Implementation

WebApiModulesWarehouseCheckInSuspendedSession copyWithWrapped(
    {Wrapped<String?>? contractId,
    Wrapped<String?>? date,
    Wrapped<String?>? time,
    Wrapped<int?>? sessionNumber,
    Wrapped<String?>? dealVendor,
    Wrapped<String?>? orderNumber,
    Wrapped<String?>? description,
    Wrapped<String?>? user,
    Wrapped<String?>? status}) {
  return WebApiModulesWarehouseCheckInSuspendedSession(
      contractId: (contractId != null ? contractId.value : this.contractId),
      date: (date != null ? date.value : this.date),
      time: (time != null ? time.value : this.time),
      sessionNumber:
          (sessionNumber != null ? sessionNumber.value : this.sessionNumber),
      dealVendor: (dealVendor != null ? dealVendor.value : this.dealVendor),
      orderNumber:
          (orderNumber != null ? orderNumber.value : this.orderNumber),
      description:
          (description != null ? description.value : this.description),
      user: (user != null ? user.value : this.user),
      status: (status != null ? status.value : this.status));
}