copyWith method
Total
copyWith({
- TotalCanonicalDescription? canonicalDescription,
- String? description,
- Pay? currentPay,
- Pay? ytdPay,
Implementation
Total copyWith(
{enums.TotalCanonicalDescription? canonicalDescription,
String? description,
Pay? currentPay,
Pay? ytdPay}) {
return Total(
canonicalDescription: canonicalDescription ?? this.canonicalDescription,
description: description ?? this.description,
currentPay: currentPay ?? this.currentPay,
ytdPay: ytdPay ?? this.ytdPay);
}