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