copyWith method
Deductions
copyWith({
- List<
Total> ? subtotals, - List<
DeductionsBreakdown> ? breakdown, - List<
Total> ? totals, - DeductionsTotal? total,
Implementation
Deductions copyWith(
{List<Total>? subtotals,
List<DeductionsBreakdown>? breakdown,
List<Total>? totals,
DeductionsTotal? total}) {
return Deductions(
subtotals: subtotals ?? this.subtotals,
breakdown: breakdown ?? this.breakdown,
totals: totals ?? this.totals,
total: total ?? this.total);
}