copyWith method

WebApiModulesHomeControlsInventorySearchInventorySearchAccessoriesRequest copyWith({
  1. String? sessionId,
  2. String? orderId,
  3. String? lineage,
  4. String? warehouseId,
  5. String? languageId,
  6. bool? showAvailability,
  7. DateTime? fromDate,
  8. String? fromTime,
  9. DateTime? toDate,
  10. String? toTime,
  11. bool? showImages,
})

Implementation

WebApiModulesHomeControlsInventorySearchInventorySearchAccessoriesRequest
copyWith({
  String? sessionId,
  String? orderId,
  String? lineage,
  String? warehouseId,
  String? languageId,
  bool? showAvailability,
  DateTime? fromDate,
  String? fromTime,
  DateTime? toDate,
  String? toTime,
  bool? showImages,
}) {
  return WebApiModulesHomeControlsInventorySearchInventorySearchAccessoriesRequest(
    sessionId: sessionId ?? this.sessionId,
    orderId: orderId ?? this.orderId,
    lineage: lineage ?? this.lineage,
    warehouseId: warehouseId ?? this.warehouseId,
    languageId: languageId ?? this.languageId,
    showAvailability: showAvailability ?? this.showAvailability,
    fromDate: fromDate ?? this.fromDate,
    fromTime: fromTime ?? this.fromTime,
    toDate: toDate ?? this.toDate,
    toTime: toTime ?? this.toTime,
    showImages: showImages ?? this.showImages,
  );
}