copyWithWrapped method
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,
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),
);
}