copyWith method
IdentityVerificationRequestUser
copyWith({
- String? clientUserId,
- String? emailAddress,
- String? phoneNumber,
- String? dateOfBirth,
- UserName? name,
- UserAddress? address,
- 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);
}