copyWith method

LinkTokenCreateRequestUser copyWith({
  1. String? clientUserId,
  2. String? legalName,
  3. String? phoneNumber,
  4. String? phoneNumberVerifiedTime,
  5. String? emailAddress,
  6. String? emailAddressVerifiedTime,
  7. String? ssn,
  8. DateTime? dateOfBirth,
})

Implementation

LinkTokenCreateRequestUser copyWith(
    {String? clientUserId,
    String? legalName,
    String? phoneNumber,
    String? phoneNumberVerifiedTime,
    String? emailAddress,
    String? emailAddressVerifiedTime,
    String? ssn,
    DateTime? dateOfBirth}) {
  return LinkTokenCreateRequestUser(
      clientUserId: clientUserId ?? this.clientUserId,
      legalName: legalName ?? this.legalName,
      phoneNumber: phoneNumber ?? this.phoneNumber,
      phoneNumberVerifiedTime:
          phoneNumberVerifiedTime ?? this.phoneNumberVerifiedTime,
      emailAddress: emailAddress ?? this.emailAddress,
      emailAddressVerifiedTime:
          emailAddressVerifiedTime ?? this.emailAddressVerifiedTime,
      ssn: ssn ?? this.ssn,
      dateOfBirth: dateOfBirth ?? this.dateOfBirth);
}