copyWith method

WebApiModulesInventoryInventorySearchInventorySearchAddToOrderRequest copyWith({
  1. String? orderId,
  2. int? insertAtIndex,
  3. DateTime? pickDate,
  4. String? pickTime,
  5. DateTime? fromDate,
  6. String? fromTime,
  7. DateTime? toDate,
  8. String? toTime,
  9. String? insertAtItemOrder,
  10. bool? isLossAndDamage,
  11. 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,
  );
}