copyWith method
CreditPayStubEmployee
copyWith({
- CreditPayStubAddress? address,
- String? name,
- String? maritalStatus,
- PayStubTaxpayerID? taxpayerId,
Implementation
CreditPayStubEmployee copyWith(
{CreditPayStubAddress? address,
String? name,
String? maritalStatus,
PayStubTaxpayerID? taxpayerId}) {
return CreditPayStubEmployee(
address: address ?? this.address,
name: name ?? this.name,
maritalStatus: maritalStatus ?? this.maritalStatus,
taxpayerId: taxpayerId ?? this.taxpayerId);
}