copyWith method

IdentityVerificationRequestUser copyWith({
  1. String? clientUserId,
  2. String? emailAddress,
  3. String? phoneNumber,
  4. String? dateOfBirth,
  5. UserName? name,
  6. UserAddress? address,
  7. UserIDNumber? idNumber,
})

Implementation

IdentityVerificationRequestUser copyWith(
    {String? clientUserId,
    String? emailAddress,
    String? phoneNumber,
    String? dateOfBirth,
    UserName? name,
    UserAddress? address,
    UserIDNumber? idNumber}) {
  return IdentityVerificationRequestUser(
      clientUserId: clientUserId ?? this.clientUserId,
      emailAddress: emailAddress ?? this.emailAddress,
      phoneNumber: phoneNumber ?? this.phoneNumber,
      dateOfBirth: dateOfBirth ?? this.dateOfBirth,
      name: name ?? this.name,
      address: address ?? this.address,
      idNumber: idNumber ?? this.idNumber);
}