copyWith method
- LaborCostType? laborCostType,
- double? laborRate,
- double? laborTime,
- double? fixedLaborCost,
- double? smallMaterialPercent,
Implementation
BudgetConfig copyWith({
LaborCostType? laborCostType,
double? laborRate,
double? laborTime,
double? fixedLaborCost,
double? smallMaterialPercent,
}) {
return BudgetConfig(
laborCostType: laborCostType ?? this.laborCostType,
laborRate: laborRate ?? this.laborRate,
laborTime: laborTime ?? this.laborTime,
fixedLaborCost: fixedLaborCost ?? this.fixedLaborCost,
smallMaterialPercent: smallMaterialPercent ?? this.smallMaterialPercent,
);
}