copyWithWrapped method

WebApiModulesHomeControlsInventorySearchInventorySearchAddToOrderRequest 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?>? sessionId,
})

Implementation

WebApiModulesHomeControlsInventorySearchInventorySearchAddToOrderRequest
    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?>? sessionId}) {
  return WebApiModulesHomeControlsInventorySearchInventorySearchAddToOrderRequest(
      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),
      sessionId: (sessionId != null ? sessionId.value : this.sessionId));
}