copyWithWrapped method

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

Implementation

WebApiModulesHomeControlsInventorySearchInventorySearchAccessoriesRequest
    copyWithWrapped(
        {Wrapped<String?>? sessionId,
        Wrapped<String?>? orderId,
        Wrapped<String?>? lineage,
        Wrapped<String?>? warehouseId,
        Wrapped<String?>? languageId,
        Wrapped<bool?>? showAvailability,
        Wrapped<DateTime?>? fromDate,
        Wrapped<String?>? fromTime,
        Wrapped<DateTime?>? toDate,
        Wrapped<String?>? toTime,
        Wrapped<bool?>? showImages}) {
  return WebApiModulesHomeControlsInventorySearchInventorySearchAccessoriesRequest(
      sessionId: (sessionId != null ? sessionId.value : this.sessionId),
      orderId: (orderId != null ? orderId.value : this.orderId),
      lineage: (lineage != null ? lineage.value : this.lineage),
      warehouseId:
          (warehouseId != null ? warehouseId.value : this.warehouseId),
      languageId: (languageId != null ? languageId.value : this.languageId),
      showAvailability: (showAvailability != null
          ? showAvailability.value
          : this.showAvailability),
      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),
      showImages: (showImages != null ? showImages.value : this.showImages));
}