copyWith method

TaxpayerID copyWith({
  1. String? idType,
  2. String? idMask,
  3. String? last4Digits,
})

Implementation

TaxpayerID copyWith({String? idType, String? idMask, String? last4Digits}) {
  return TaxpayerID(
      idType: idType ?? this.idType,
      idMask: idMask ?? this.idMask,
      last4Digits: last4Digits ?? this.last4Digits);
}