copyWith method
LinkTokenCreateRequestIncomeVerification
copyWith({
- String? incomeVerificationId,
- String? assetReportId,
- String? precheckId,
- List<
String> ? accessTokens, - List<
IncomeVerificationSourceType> ? incomeSourceTypes, - LinkTokenCreateRequestIncomeVerificationBankIncome? bankIncome,
- LinkTokenCreateRequestIncomeVerificationPayrollIncome? payrollIncome,
- List<
LinkTokenCreateRequestUserStatedIncomeSource> ? statedIncomeSources,
Implementation
LinkTokenCreateRequestIncomeVerification copyWith(
{String? incomeVerificationId,
String? assetReportId,
String? precheckId,
List<String>? accessTokens,
List<enums.IncomeVerificationSourceType>? incomeSourceTypes,
LinkTokenCreateRequestIncomeVerificationBankIncome? bankIncome,
LinkTokenCreateRequestIncomeVerificationPayrollIncome? payrollIncome,
List<LinkTokenCreateRequestUserStatedIncomeSource>?
statedIncomeSources}) {
return LinkTokenCreateRequestIncomeVerification(
incomeVerificationId: incomeVerificationId ?? this.incomeVerificationId,
assetReportId: assetReportId ?? this.assetReportId,
precheckId: precheckId ?? this.precheckId,
accessTokens: accessTokens ?? this.accessTokens,
incomeSourceTypes: incomeSourceTypes ?? this.incomeSourceTypes,
bankIncome: bankIncome ?? this.bankIncome,
payrollIncome: payrollIncome ?? this.payrollIncome,
statedIncomeSources: statedIncomeSources ?? this.statedIncomeSources);
}