copyWithWrapped method
LinkTokenCreateRequestUser
copyWithWrapped({
- Wrapped<
String> ? clientUserId, - Wrapped<
String?> ? legalName, - Wrapped? name,
- Wrapped<
String?> ? phoneNumber, - Wrapped<
DateTime?> ? phoneNumberVerifiedTime, - Wrapped<
String?> ? emailAddress, - Wrapped<
DateTime?> ? emailAddressVerifiedTime, - Wrapped<
String?> ? ssn, - Wrapped<
DateTime?> ? dateOfBirth, - Wrapped<
UserAddress?> ? address, - Wrapped<
UserIDNumber?> ? idNumber,
Implementation
LinkTokenCreateRequestUser copyWithWrapped(
{Wrapped<String>? clientUserId,
Wrapped<String?>? legalName,
Wrapped<dynamic?>? name,
Wrapped<String?>? phoneNumber,
Wrapped<DateTime?>? phoneNumberVerifiedTime,
Wrapped<String?>? emailAddress,
Wrapped<DateTime?>? emailAddressVerifiedTime,
Wrapped<String?>? ssn,
Wrapped<DateTime?>? dateOfBirth,
Wrapped<UserAddress?>? address,
Wrapped<UserIDNumber?>? idNumber}) {
return LinkTokenCreateRequestUser(
clientUserId:
(clientUserId != null ? clientUserId.value : this.clientUserId),
legalName: (legalName != null ? legalName.value : this.legalName),
name: (name != null ? name.value : this.name),
phoneNumber:
(phoneNumber != null ? phoneNumber.value : this.phoneNumber),
phoneNumberVerifiedTime: (phoneNumberVerifiedTime != null
? phoneNumberVerifiedTime.value
: this.phoneNumberVerifiedTime),
emailAddress:
(emailAddress != null ? emailAddress.value : this.emailAddress),
emailAddressVerifiedTime: (emailAddressVerifiedTime != null
? emailAddressVerifiedTime.value
: this.emailAddressVerifiedTime),
ssn: (ssn != null ? ssn.value : this.ssn),
dateOfBirth:
(dateOfBirth != null ? dateOfBirth.value : this.dateOfBirth),
address: (address != null ? address.value : this.address),
idNumber: (idNumber != null ? idNumber.value : this.idNumber));
}