copyWith method

PaystubEmployer copyWith({
  1. PaystubAddress? address,
  2. String? name,
})

Implementation

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