copyWithWrapped method

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

Implementation

IdentityVerificationRequestUser copyWithWrapped(
    {Wrapped<String>? clientUserId,
    Wrapped<String?>? emailAddress,
    Wrapped<String?>? phoneNumber,
    Wrapped<String?>? dateOfBirth,
    Wrapped<UserName?>? name,
    Wrapped<UserAddress?>? address,
    Wrapped<UserIDNumber?>? idNumber}) {
  return IdentityVerificationRequestUser(
      clientUserId:
          (clientUserId != null ? clientUserId.value : this.clientUserId),
      emailAddress:
          (emailAddress != null ? emailAddress.value : this.emailAddress),
      phoneNumber:
          (phoneNumber != null ? phoneNumber.value : this.phoneNumber),
      dateOfBirth:
          (dateOfBirth != null ? dateOfBirth.value : this.dateOfBirth),
      name: (name != null ? name.value : this.name),
      address: (address != null ? address.value : this.address),
      idNumber: (idNumber != null ? idNumber.value : this.idNumber));
}