copyWith method

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

Implementation

WebApiModulesHomeControlsInventorySearchInventorySearchAddToOrderRequest
    copyWith(
        {String? orderId,
        int? insertAtIndex,
        DateTime? pickDate,
        String? pickTime,
        DateTime? fromDate,
        String? fromTime,
        DateTime? toDate,
        String? toTime,
        String? sessionId}) {
  return WebApiModulesHomeControlsInventorySearchInventorySearchAddToOrderRequest(
      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,
      sessionId: sessionId ?? this.sessionId);
}