copyWithWrapped method

WebApiServicesAvailabilityServiceAvailabilityConflictRequest copyWithWrapped({
  1. Wrapped<DateTime?>? toDate,
  2. Wrapped<String?>? availableFor,
  3. Wrapped<String?>? conflictType,
  4. Wrapped<String?>? warehouseId,
  5. Wrapped<String?>? inventoryTypeId,
  6. Wrapped<String?>? categoryId,
  7. Wrapped<String?>? subCategoryId,
  8. Wrapped<String?>? inventoryId,
  9. Wrapped<String?>? description,
  10. Wrapped<String?>? orderId,
  11. Wrapped<String?>? dealId,
  12. Wrapped<String?>? ranks,
  13. Wrapped<bool?>? showRegionAvailability,
  14. Wrapped<bool?>? showOtherWarehouseAvailability,
  15. Wrapped<String?>? otherWarehouseIds,
})

Implementation

WebApiServicesAvailabilityServiceAvailabilityConflictRequest copyWithWrapped({
  Wrapped<DateTime?>? toDate,
  Wrapped<String?>? availableFor,
  Wrapped<String?>? conflictType,
  Wrapped<String?>? warehouseId,
  Wrapped<String?>? inventoryTypeId,
  Wrapped<String?>? categoryId,
  Wrapped<String?>? subCategoryId,
  Wrapped<String?>? inventoryId,
  Wrapped<String?>? description,
  Wrapped<String?>? orderId,
  Wrapped<String?>? dealId,
  Wrapped<String?>? ranks,
  Wrapped<bool?>? showRegionAvailability,
  Wrapped<bool?>? showOtherWarehouseAvailability,
  Wrapped<String?>? otherWarehouseIds,
}) {
  return WebApiServicesAvailabilityServiceAvailabilityConflictRequest(
    toDate: (toDate != null ? toDate.value : this.toDate),
    availableFor: (availableFor != null
        ? availableFor.value
        : this.availableFor),
    conflictType: (conflictType != null
        ? conflictType.value
        : this.conflictType),
    warehouseId: (warehouseId != null ? warehouseId.value : this.warehouseId),
    inventoryTypeId: (inventoryTypeId != null
        ? inventoryTypeId.value
        : this.inventoryTypeId),
    categoryId: (categoryId != null ? categoryId.value : this.categoryId),
    subCategoryId: (subCategoryId != null
        ? subCategoryId.value
        : this.subCategoryId),
    inventoryId: (inventoryId != null ? inventoryId.value : this.inventoryId),
    description: (description != null ? description.value : this.description),
    orderId: (orderId != null ? orderId.value : this.orderId),
    dealId: (dealId != null ? dealId.value : this.dealId),
    ranks: (ranks != null ? ranks.value : this.ranks),
    showRegionAvailability: (showRegionAvailability != null
        ? showRegionAvailability.value
        : this.showRegionAvailability),
    showOtherWarehouseAvailability: (showOtherWarehouseAvailability != null
        ? showOtherWarehouseAvailability.value
        : this.showOtherWarehouseAvailability),
    otherWarehouseIds: (otherWarehouseIds != null
        ? otherWarehouseIds.value
        : this.otherWarehouseIds),
  );
}