copyWith method
IncomeBreakdown
copyWith({
- IncomeBreakdownType? type,
- double? rate,
- double? hours,
- double? total,
Implementation
IncomeBreakdown copyWith(
{enums.IncomeBreakdownType? type,
double? rate,
double? hours,
double? total}) {
return IncomeBreakdown(
type: type ?? this.type,
rate: rate ?? this.rate,
hours: hours ?? this.hours,
total: total ?? this.total);
}