copyWith method
WebApiModulesInventoryInventorySearchInventorySearchAddToOrderRequest
copyWith(
{ - String? orderId,
- int? insertAtIndex,
- DateTime? pickDate,
- String? pickTime,
- DateTime? fromDate,
- String? fromTime,
- DateTime? toDate,
- String? toTime,
- String? insertAtItemOrder,
- bool? isLossAndDamage,
- String? sessionId,
})
Implementation
WebApiModulesInventoryInventorySearchInventorySearchAddToOrderRequest
copyWith({
String? orderId,
int? insertAtIndex,
DateTime? pickDate,
String? pickTime,
DateTime? fromDate,
String? fromTime,
DateTime? toDate,
String? toTime,
String? insertAtItemOrder,
bool? isLossAndDamage,
String? sessionId,
}) {
return WebApiModulesInventoryInventorySearchInventorySearchAddToOrderRequest(
orderId: orderId ?? this.orderId,
insertAtIndex: insertAtIndex ?? this.insertAtIndex,
pickDate: pickDate ?? this.pickDate,
pickTime: pickTime ?? this.pickTime,
fromDate: fromDate ?? this.fromDate,
fromTime: fromTime ?? this.fromTime,
toDate: toDate ?? this.toDate,
toTime: toTime ?? this.toTime,
insertAtItemOrder: insertAtItemOrder ?? this.insertAtItemOrder,
isLossAndDamage: isLossAndDamage ?? this.isLossAndDamage,
sessionId: sessionId ?? this.sessionId,
);
}