copyWith method
Implementation
PaystubEmployer copyWith({PaystubAddress? address, String? name}) {
return PaystubEmployer(
address: address ?? this.address, name: name ?? this.name);
}
PaystubEmployer copyWith({PaystubAddress? address, String? name}) {
return PaystubEmployer(
address: address ?? this.address, name: name ?? this.name);
}