copyWith method
Implementation
GrowthTrend copyWith({
String? id,
double? cashGrowth,
int? companyBudgetGrowth,
double? companyReputationGrowth,
double? employNumberGrowth,
double? employSatisfactionGrowth,
}) {
return GrowthTrend(
id: id ?? this.id,
cashGrowth: cashGrowth ?? this.cashGrowth,
companyBudgetGrowth: companyBudgetGrowth ?? this.companyBudgetGrowth,
companyReputationGrowth:
companyReputationGrowth ?? this.companyReputationGrowth,
employNumberGrowth: employNumberGrowth ?? this.employNumberGrowth,
employSatisfactionGrowth:
employSatisfactionGrowth ?? this.employSatisfactionGrowth,
);
}