copyWith method

WebApiModulesSettingsRateWarehouseRateWarehouse copyWith({
  1. String? rateId,
  2. double? hourlyRate,
  3. double? hourlyCost,
  4. double? hourlyMarkupPercent,
  5. double? dailyRate,
  6. double? dailyCost,
  7. double? dailyMarkupPercent,
  8. double? weeklyRate,
  9. double? weeklyCost,
  10. double? weeklyMarkupPercent,
  11. double? monthlyRate,
  12. double? monthlyCost,
  13. double? monthlyMarkupPercent,
  14. double? price,
  15. double? cost,
  16. double? markupPercent,
  17. String? defaultStartTime,
  18. String? defaultStopTime,
  19. String? itemDescription,
  20. String? warehouseId,
  21. String? warehouseCode,
  22. String? warehouse,
  23. int? warehouseOrderBy,
  24. String? auditNote,
  25. String? recordTitle,
  26. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  27. List<FwStandardDataFwCustomValue>? custom,
  28. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  29. List<FwStandardDataFwTranslatedValue>? translation,
})

Implementation

WebApiModulesSettingsRateWarehouseRateWarehouse copyWith(
    {String? rateId,
    double? hourlyRate,
    double? hourlyCost,
    double? hourlyMarkupPercent,
    double? dailyRate,
    double? dailyCost,
    double? dailyMarkupPercent,
    double? weeklyRate,
    double? weeklyCost,
    double? weeklyMarkupPercent,
    double? monthlyRate,
    double? monthlyCost,
    double? monthlyMarkupPercent,
    double? price,
    double? cost,
    double? markupPercent,
    String? defaultStartTime,
    String? defaultStopTime,
    String? itemDescription,
    String? warehouseId,
    String? warehouseCode,
    String? warehouse,
    int? warehouseOrderBy,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesSettingsRateWarehouseRateWarehouse(
      rateId: rateId ?? this.rateId,
      hourlyRate: hourlyRate ?? this.hourlyRate,
      hourlyCost: hourlyCost ?? this.hourlyCost,
      hourlyMarkupPercent: hourlyMarkupPercent ?? this.hourlyMarkupPercent,
      dailyRate: dailyRate ?? this.dailyRate,
      dailyCost: dailyCost ?? this.dailyCost,
      dailyMarkupPercent: dailyMarkupPercent ?? this.dailyMarkupPercent,
      weeklyRate: weeklyRate ?? this.weeklyRate,
      weeklyCost: weeklyCost ?? this.weeklyCost,
      weeklyMarkupPercent: weeklyMarkupPercent ?? this.weeklyMarkupPercent,
      monthlyRate: monthlyRate ?? this.monthlyRate,
      monthlyCost: monthlyCost ?? this.monthlyCost,
      monthlyMarkupPercent: monthlyMarkupPercent ?? this.monthlyMarkupPercent,
      price: price ?? this.price,
      cost: cost ?? this.cost,
      markupPercent: markupPercent ?? this.markupPercent,
      defaultStartTime: defaultStartTime ?? this.defaultStartTime,
      defaultStopTime: defaultStopTime ?? this.defaultStopTime,
      itemDescription: itemDescription ?? this.itemDescription,
      warehouseId: warehouseId ?? this.warehouseId,
      warehouseCode: warehouseCode ?? this.warehouseCode,
      warehouse: warehouse ?? this.warehouse,
      warehouseOrderBy: warehouseOrderBy ?? this.warehouseOrderBy,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes,
      translation: translation ?? this.translation);
}