copyWithWrapped method

WebApiModulesSettingsRateWarehouseRateWarehouse copyWithWrapped({
  1. Wrapped<String?>? rateId,
  2. Wrapped<double?>? hourlyRate,
  3. Wrapped<double?>? hourlyCost,
  4. Wrapped<double?>? hourlyMarkupPercent,
  5. Wrapped<double?>? dailyRate,
  6. Wrapped<double?>? dailyCost,
  7. Wrapped<double?>? dailyMarkupPercent,
  8. Wrapped<double?>? weeklyRate,
  9. Wrapped<double?>? weeklyCost,
  10. Wrapped<double?>? weeklyMarkupPercent,
  11. Wrapped<double?>? monthlyRate,
  12. Wrapped<double?>? monthlyCost,
  13. Wrapped<double?>? monthlyMarkupPercent,
  14. Wrapped<double?>? price,
  15. Wrapped<double?>? cost,
  16. Wrapped<double?>? markupPercent,
  17. Wrapped<String?>? defaultStartTime,
  18. Wrapped<String?>? defaultStopTime,
  19. Wrapped<String?>? itemDescription,
  20. Wrapped<String?>? warehouseId,
  21. Wrapped<String?>? warehouseCode,
  22. Wrapped<String?>? warehouse,
  23. Wrapped<int?>? warehouseOrderBy,
  24. Wrapped<String?>? auditNote,
  25. Wrapped<String?>? recordTitle,
  26. Wrapped? urlIdentifier,
  27. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  28. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  29. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  30. Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
  31. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
  32. Wrapped<bool?>? hasImport,
  33. Wrapped<bool?>? hasDocuments,
  34. Wrapped<String?>? createdByUserId,
  35. Wrapped<String?>? createdByUserName,
  36. Wrapped<String?>? createdDateTime,
  37. Wrapped<String?>? modifiedByUserId,
  38. Wrapped<String?>? modifiedByUserName,
  39. Wrapped<String?>? modifiedDateTime,
})

Implementation

WebApiModulesSettingsRateWarehouseRateWarehouse copyWithWrapped({
  Wrapped<String?>? rateId,
  Wrapped<double?>? hourlyRate,
  Wrapped<double?>? hourlyCost,
  Wrapped<double?>? hourlyMarkupPercent,
  Wrapped<double?>? dailyRate,
  Wrapped<double?>? dailyCost,
  Wrapped<double?>? dailyMarkupPercent,
  Wrapped<double?>? weeklyRate,
  Wrapped<double?>? weeklyCost,
  Wrapped<double?>? weeklyMarkupPercent,
  Wrapped<double?>? monthlyRate,
  Wrapped<double?>? monthlyCost,
  Wrapped<double?>? monthlyMarkupPercent,
  Wrapped<double?>? price,
  Wrapped<double?>? cost,
  Wrapped<double?>? markupPercent,
  Wrapped<String?>? defaultStartTime,
  Wrapped<String?>? defaultStopTime,
  Wrapped<String?>? itemDescription,
  Wrapped<String?>? warehouseId,
  Wrapped<String?>? warehouseCode,
  Wrapped<String?>? warehouse,
  Wrapped<int?>? warehouseOrderBy,
  Wrapped<String?>? auditNote,
  Wrapped<String?>? recordTitle,
  Wrapped<dynamic>? urlIdentifier,
  Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
  fields,
  Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
  Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
  Wrapped<bool?>? hasImport,
  Wrapped<bool?>? hasDocuments,
  Wrapped<String?>? createdByUserId,
  Wrapped<String?>? createdByUserName,
  Wrapped<String?>? createdDateTime,
  Wrapped<String?>? modifiedByUserId,
  Wrapped<String?>? modifiedByUserName,
  Wrapped<String?>? modifiedDateTime,
}) {
  return WebApiModulesSettingsRateWarehouseRateWarehouse(
    rateId: (rateId != null ? rateId.value : this.rateId),
    hourlyRate: (hourlyRate != null ? hourlyRate.value : this.hourlyRate),
    hourlyCost: (hourlyCost != null ? hourlyCost.value : this.hourlyCost),
    hourlyMarkupPercent: (hourlyMarkupPercent != null
        ? hourlyMarkupPercent.value
        : this.hourlyMarkupPercent),
    dailyRate: (dailyRate != null ? dailyRate.value : this.dailyRate),
    dailyCost: (dailyCost != null ? dailyCost.value : this.dailyCost),
    dailyMarkupPercent: (dailyMarkupPercent != null
        ? dailyMarkupPercent.value
        : this.dailyMarkupPercent),
    weeklyRate: (weeklyRate != null ? weeklyRate.value : this.weeklyRate),
    weeklyCost: (weeklyCost != null ? weeklyCost.value : this.weeklyCost),
    weeklyMarkupPercent: (weeklyMarkupPercent != null
        ? weeklyMarkupPercent.value
        : this.weeklyMarkupPercent),
    monthlyRate: (monthlyRate != null ? monthlyRate.value : this.monthlyRate),
    monthlyCost: (monthlyCost != null ? monthlyCost.value : this.monthlyCost),
    monthlyMarkupPercent: (monthlyMarkupPercent != null
        ? monthlyMarkupPercent.value
        : this.monthlyMarkupPercent),
    price: (price != null ? price.value : this.price),
    cost: (cost != null ? cost.value : this.cost),
    markupPercent: (markupPercent != null
        ? markupPercent.value
        : this.markupPercent),
    defaultStartTime: (defaultStartTime != null
        ? defaultStartTime.value
        : this.defaultStartTime),
    defaultStopTime: (defaultStopTime != null
        ? defaultStopTime.value
        : this.defaultStopTime),
    itemDescription: (itemDescription != null
        ? itemDescription.value
        : this.itemDescription),
    warehouseId: (warehouseId != null ? warehouseId.value : this.warehouseId),
    warehouseCode: (warehouseCode != null
        ? warehouseCode.value
        : this.warehouseCode),
    warehouse: (warehouse != null ? warehouse.value : this.warehouse),
    warehouseOrderBy: (warehouseOrderBy != null
        ? warehouseOrderBy.value
        : this.warehouseOrderBy),
    auditNote: (auditNote != null ? auditNote.value : this.auditNote),
    recordTitle: (recordTitle != null ? recordTitle.value : this.recordTitle),
    urlIdentifier: (urlIdentifier != null
        ? urlIdentifier.value
        : this.urlIdentifier),
    fields: (fields != null ? fields.value : this.fields),
    custom: (custom != null ? custom.value : this.custom),
    defaultFieldAttributes: (defaultFieldAttributes != null
        ? defaultFieldAttributes.value
        : this.defaultFieldAttributes),
    original: (original != null ? original.value : this.original),
    translation: (translation != null ? translation.value : this.translation),
    hasImport: (hasImport != null ? hasImport.value : this.hasImport),
    hasDocuments: (hasDocuments != null
        ? hasDocuments.value
        : this.hasDocuments),
    createdByUserId: (createdByUserId != null
        ? createdByUserId.value
        : this.createdByUserId),
    createdByUserName: (createdByUserName != null
        ? createdByUserName.value
        : this.createdByUserName),
    createdDateTime: (createdDateTime != null
        ? createdDateTime.value
        : this.createdDateTime),
    modifiedByUserId: (modifiedByUserId != null
        ? modifiedByUserId.value
        : this.modifiedByUserId),
    modifiedByUserName: (modifiedByUserName != null
        ? modifiedByUserName.value
        : this.modifiedByUserName),
    modifiedDateTime: (modifiedDateTime != null
        ? modifiedDateTime.value
        : this.modifiedDateTime),
  );
}