copyWithWrapped method
Implementation
IdentityVerificationUserData copyWithWrapped(
{Wrapped<String?>? phoneNumber,
Wrapped<String?>? dateOfBirth,
Wrapped<String?>? ipAddress,
Wrapped<String?>? emailAddress,
Wrapped<UserName?>? name,
Wrapped<IdentityVerificationUserAddress?>? address,
Wrapped<UserIDNumber?>? idNumber}) {
return IdentityVerificationUserData(
phoneNumber:
(phoneNumber != null ? phoneNumber.value : this.phoneNumber),
dateOfBirth:
(dateOfBirth != null ? dateOfBirth.value : this.dateOfBirth),
ipAddress: (ipAddress != null ? ipAddress.value : this.ipAddress),
emailAddress:
(emailAddress != null ? emailAddress.value : this.emailAddress),
name: (name != null ? name.value : this.name),
address: (address != null ? address.value : this.address),
idNumber: (idNumber != null ? idNumber.value : this.idNumber));
}