copyWithWrapped method

WebApiModulesInventoryInventoryReceiptAssignICodeRequest copyWithWrapped({
  1. Wrapped<String?>? iCode,
  2. Wrapped<String?>? description,
  3. Wrapped<String?>? aisle,
  4. Wrapped<String?>? shelf,
  5. Wrapped<double?>? dailyRate,
  6. Wrapped<double?>? weeklyRate,
  7. Wrapped<double?>? monthlyRate,
  8. Wrapped<String?>? inventoryReceiptId,
  9. Wrapped<String?>? inventoryReceiptItemId,
  10. Wrapped<String?>? inventoryTypeId,
  11. Wrapped<String?>? categoryId,
  12. Wrapped<String?>? subCategoryId,
  13. Wrapped<String?>? originalShowId,
  14. Wrapped<String?>? conditionId,
  15. Wrapped<String?>? warehouseId,
  16. Wrapped<double?>? replacementCost,
  17. Wrapped<double?>? unitValue,
  18. Wrapped<String?>? lengthFeet,
  19. Wrapped<String?>? lengthInch,
  20. Wrapped<String?>? widthFeet,
  21. Wrapped<String?>? widthInch,
  22. Wrapped<String?>? heightFeet,
  23. Wrapped<String?>? heightInch,
  24. Wrapped<String?>? receivedDate,
  25. Wrapped<String?>? defaultImageId,
  26. Wrapped<String?>? inventoryId,
  27. Wrapped<String?>? patternId,
  28. Wrapped<String?>? periodId,
  29. Wrapped<String?>? genderId,
  30. Wrapped<double?>? cleaningFee,
  31. Wrapped<String?>? labelId,
  32. Wrapped<String?>? size,
  33. Wrapped<bool?>? dyed,
  34. Wrapped<int?>? pieceCount,
  35. Wrapped<String?>? careId,
  36. Wrapped<String?>? sourceId,
  37. Wrapped<String?>? detailedDescription,
  38. Wrapped<String?>? departmentId,
})

Implementation

WebApiModulesInventoryInventoryReceiptAssignICodeRequest copyWithWrapped({
  Wrapped<String?>? iCode,
  Wrapped<String?>? description,
  Wrapped<String?>? aisle,
  Wrapped<String?>? shelf,
  Wrapped<double?>? dailyRate,
  Wrapped<double?>? weeklyRate,
  Wrapped<double?>? monthlyRate,
  Wrapped<String?>? inventoryReceiptId,
  Wrapped<String?>? inventoryReceiptItemId,
  Wrapped<String?>? inventoryTypeId,
  Wrapped<String?>? categoryId,
  Wrapped<String?>? subCategoryId,
  Wrapped<String?>? originalShowId,
  Wrapped<String?>? conditionId,
  Wrapped<String?>? warehouseId,
  Wrapped<double?>? replacementCost,
  Wrapped<double?>? unitValue,
  Wrapped<String?>? lengthFeet,
  Wrapped<String?>? lengthInch,
  Wrapped<String?>? widthFeet,
  Wrapped<String?>? widthInch,
  Wrapped<String?>? heightFeet,
  Wrapped<String?>? heightInch,
  Wrapped<String?>? receivedDate,
  Wrapped<String?>? defaultImageId,
  Wrapped<String?>? inventoryId,
  Wrapped<String?>? patternId,
  Wrapped<String?>? periodId,
  Wrapped<String?>? genderId,
  Wrapped<double?>? cleaningFee,
  Wrapped<String?>? labelId,
  Wrapped<String?>? size,
  Wrapped<bool?>? dyed,
  Wrapped<int?>? pieceCount,
  Wrapped<String?>? careId,
  Wrapped<String?>? sourceId,
  Wrapped<String?>? detailedDescription,
  Wrapped<String?>? departmentId,
}) {
  return WebApiModulesInventoryInventoryReceiptAssignICodeRequest(
    iCode: (iCode != null ? iCode.value : this.iCode),
    description: (description != null ? description.value : this.description),
    aisle: (aisle != null ? aisle.value : this.aisle),
    shelf: (shelf != null ? shelf.value : this.shelf),
    dailyRate: (dailyRate != null ? dailyRate.value : this.dailyRate),
    weeklyRate: (weeklyRate != null ? weeklyRate.value : this.weeklyRate),
    monthlyRate: (monthlyRate != null ? monthlyRate.value : this.monthlyRate),
    inventoryReceiptId: (inventoryReceiptId != null
        ? inventoryReceiptId.value
        : this.inventoryReceiptId),
    inventoryReceiptItemId: (inventoryReceiptItemId != null
        ? inventoryReceiptItemId.value
        : this.inventoryReceiptItemId),
    inventoryTypeId: (inventoryTypeId != null
        ? inventoryTypeId.value
        : this.inventoryTypeId),
    categoryId: (categoryId != null ? categoryId.value : this.categoryId),
    subCategoryId: (subCategoryId != null
        ? subCategoryId.value
        : this.subCategoryId),
    originalShowId: (originalShowId != null
        ? originalShowId.value
        : this.originalShowId),
    conditionId: (conditionId != null ? conditionId.value : this.conditionId),
    warehouseId: (warehouseId != null ? warehouseId.value : this.warehouseId),
    replacementCost: (replacementCost != null
        ? replacementCost.value
        : this.replacementCost),
    unitValue: (unitValue != null ? unitValue.value : this.unitValue),
    lengthFeet: (lengthFeet != null ? lengthFeet.value : this.lengthFeet),
    lengthInch: (lengthInch != null ? lengthInch.value : this.lengthInch),
    widthFeet: (widthFeet != null ? widthFeet.value : this.widthFeet),
    widthInch: (widthInch != null ? widthInch.value : this.widthInch),
    heightFeet: (heightFeet != null ? heightFeet.value : this.heightFeet),
    heightInch: (heightInch != null ? heightInch.value : this.heightInch),
    receivedDate: (receivedDate != null
        ? receivedDate.value
        : this.receivedDate),
    defaultImageId: (defaultImageId != null
        ? defaultImageId.value
        : this.defaultImageId),
    inventoryId: (inventoryId != null ? inventoryId.value : this.inventoryId),
    patternId: (patternId != null ? patternId.value : this.patternId),
    periodId: (periodId != null ? periodId.value : this.periodId),
    genderId: (genderId != null ? genderId.value : this.genderId),
    cleaningFee: (cleaningFee != null ? cleaningFee.value : this.cleaningFee),
    labelId: (labelId != null ? labelId.value : this.labelId),
    size: (size != null ? size.value : this.size),
    dyed: (dyed != null ? dyed.value : this.dyed),
    pieceCount: (pieceCount != null ? pieceCount.value : this.pieceCount),
    careId: (careId != null ? careId.value : this.careId),
    sourceId: (sourceId != null ? sourceId.value : this.sourceId),
    detailedDescription: (detailedDescription != null
        ? detailedDescription.value
        : this.detailedDescription),
    departmentId: (departmentId != null
        ? departmentId.value
        : this.departmentId),
  );
}