copyWithWrapped method

WebApiModulesInventoryInventorySearchInventorySearchAddToOrderRequest copyWithWrapped({
  1. Wrapped<String?>? orderId,
  2. Wrapped<int?>? insertAtIndex,
  3. Wrapped<DateTime?>? pickDate,
  4. Wrapped<String?>? pickTime,
  5. Wrapped<DateTime?>? fromDate,
  6. Wrapped<String?>? fromTime,
  7. Wrapped<DateTime?>? toDate,
  8. Wrapped<String?>? toTime,
  9. Wrapped<String?>? insertAtItemOrder,
  10. Wrapped<bool?>? isLossAndDamage,
  11. Wrapped<String?>? sessionId,
})

Implementation

WebApiModulesInventoryInventorySearchInventorySearchAddToOrderRequest
copyWithWrapped({
  Wrapped<String?>? orderId,
  Wrapped<int?>? insertAtIndex,
  Wrapped<DateTime?>? pickDate,
  Wrapped<String?>? pickTime,
  Wrapped<DateTime?>? fromDate,
  Wrapped<String?>? fromTime,
  Wrapped<DateTime?>? toDate,
  Wrapped<String?>? toTime,
  Wrapped<String?>? insertAtItemOrder,
  Wrapped<bool?>? isLossAndDamage,
  Wrapped<String?>? sessionId,
}) {
  return WebApiModulesInventoryInventorySearchInventorySearchAddToOrderRequest(
    orderId: (orderId != null ? orderId.value : this.orderId),
    insertAtIndex: (insertAtIndex != null
        ? insertAtIndex.value
        : this.insertAtIndex),
    pickDate: (pickDate != null ? pickDate.value : this.pickDate),
    pickTime: (pickTime != null ? pickTime.value : this.pickTime),
    fromDate: (fromDate != null ? fromDate.value : this.fromDate),
    fromTime: (fromTime != null ? fromTime.value : this.fromTime),
    toDate: (toDate != null ? toDate.value : this.toDate),
    toTime: (toTime != null ? toTime.value : this.toTime),
    insertAtItemOrder: (insertAtItemOrder != null
        ? insertAtItemOrder.value
        : this.insertAtItemOrder),
    isLossAndDamage: (isLossAndDamage != null
        ? isLossAndDamage.value
        : this.isLossAndDamage),
    sessionId: (sessionId != null ? sessionId.value : this.sessionId),
  );
}