copyWithWrapped method
LinkTokenCreateRequest
copyWithWrapped({
- Wrapped<
String?> ? clientId, - Wrapped<
String?> ? secret, - Wrapped<
String> ? clientName, - Wrapped<
String> ? language, - Wrapped<
List< ? countryCodes,CountryCode> > - Wrapped<
LinkTokenCreateRequestUser> ? user, - Wrapped<
List< ? products,Products> ?> - Wrapped<
List< ? additionalConsentedProducts,Products> ?> - Wrapped<
String?> ? webhook, - Wrapped<
String?> ? accessToken, - Wrapped<
String?> ? linkCustomizationName, - Wrapped<
String?> ? redirectUri, - Wrapped<
String?> ? androidPackageName, - Wrapped<
LinkTokenCreateInstitutionData?> ? institutionData, - Wrapped<
LinkTokenAccountFilters?> ? accountFilters, - Wrapped<
LinkTokenEUConfig?> ? euConfig, - Wrapped<
String?> ? institutionId, - Wrapped<
LinkTokenCreateRequestPaymentInitiation?> ? paymentInitiation, - Wrapped<
LinkTokenCreateRequestDepositSwitch?> ? depositSwitch, - Wrapped<
LinkTokenCreateRequestIncomeVerification?> ? incomeVerification, - Wrapped<
LinkTokenCreateRequestAuth?> ? auth, - Wrapped<
LinkTokenCreateRequestTransfer?> ? transfer, - Wrapped<
LinkTokenCreateRequestUpdate?> ? update, - Wrapped<
LinkTokenCreateRequestIdentityVerification?> ? identityVerification, - Wrapped<
String?> ? userToken, - Wrapped<
LinkTokenInvestments?> ? investments,
Implementation
LinkTokenCreateRequest copyWithWrapped(
{Wrapped<String?>? clientId,
Wrapped<String?>? secret,
Wrapped<String>? clientName,
Wrapped<String>? language,
Wrapped<List<enums.CountryCode>>? countryCodes,
Wrapped<LinkTokenCreateRequestUser>? user,
Wrapped<List<enums.Products>?>? products,
Wrapped<List<enums.Products>?>? additionalConsentedProducts,
Wrapped<String?>? webhook,
Wrapped<String?>? accessToken,
Wrapped<String?>? linkCustomizationName,
Wrapped<String?>? redirectUri,
Wrapped<String?>? androidPackageName,
Wrapped<LinkTokenCreateInstitutionData?>? institutionData,
Wrapped<LinkTokenAccountFilters?>? accountFilters,
Wrapped<LinkTokenEUConfig?>? euConfig,
Wrapped<String?>? institutionId,
Wrapped<LinkTokenCreateRequestPaymentInitiation?>? paymentInitiation,
Wrapped<LinkTokenCreateRequestDepositSwitch?>? depositSwitch,
Wrapped<LinkTokenCreateRequestIncomeVerification?>? incomeVerification,
Wrapped<LinkTokenCreateRequestAuth?>? auth,
Wrapped<LinkTokenCreateRequestTransfer?>? transfer,
Wrapped<LinkTokenCreateRequestUpdate?>? update,
Wrapped<LinkTokenCreateRequestIdentityVerification?>?
identityVerification,
Wrapped<String?>? userToken,
Wrapped<LinkTokenInvestments?>? investments}) {
return LinkTokenCreateRequest(
clientId: (clientId != null ? clientId.value : this.clientId),
secret: (secret != null ? secret.value : this.secret),
clientName: (clientName != null ? clientName.value : this.clientName),
language: (language != null ? language.value : this.language),
countryCodes:
(countryCodes != null ? countryCodes.value : this.countryCodes),
user: (user != null ? user.value : this.user),
products: (products != null ? products.value : this.products),
additionalConsentedProducts: (additionalConsentedProducts != null
? additionalConsentedProducts.value
: this.additionalConsentedProducts),
webhook: (webhook != null ? webhook.value : this.webhook),
accessToken:
(accessToken != null ? accessToken.value : this.accessToken),
linkCustomizationName: (linkCustomizationName != null
? linkCustomizationName.value
: this.linkCustomizationName),
redirectUri:
(redirectUri != null ? redirectUri.value : this.redirectUri),
androidPackageName: (androidPackageName != null
? androidPackageName.value
: this.androidPackageName),
institutionData: (institutionData != null
? institutionData.value
: this.institutionData),
accountFilters: (accountFilters != null
? accountFilters.value
: this.accountFilters),
euConfig: (euConfig != null ? euConfig.value : this.euConfig),
institutionId:
(institutionId != null ? institutionId.value : this.institutionId),
paymentInitiation: (paymentInitiation != null
? paymentInitiation.value
: this.paymentInitiation),
depositSwitch:
(depositSwitch != null ? depositSwitch.value : this.depositSwitch),
incomeVerification: (incomeVerification != null
? incomeVerification.value
: this.incomeVerification),
auth: (auth != null ? auth.value : this.auth),
transfer: (transfer != null ? transfer.value : this.transfer),
update: (update != null ? update.value : this.update),
identityVerification: (identityVerification != null
? identityVerification.value
: this.identityVerification),
userToken: (userToken != null ? userToken.value : this.userToken),
investments:
(investments != null ? investments.value : this.investments));
}