copyWith method

IncomeVerificationPrecheckRequest copyWith({
  1. String? clientId,
  2. String? secret,
  3. IncomeVerificationPrecheckUser? user,
  4. IncomeVerificationPrecheckEmployer? employer,
  5. IncomeVerificationPrecheckPayrollInstitution? payrollInstitution,
  6. String? transactionsAccessToken,
  7. List<String>? transactionsAccessTokens,
  8. IncomeVerificationPrecheckMilitaryInfo? usMilitaryInfo,
})

Implementation

IncomeVerificationPrecheckRequest copyWith(
    {String? clientId,
    String? secret,
    IncomeVerificationPrecheckUser? user,
    IncomeVerificationPrecheckEmployer? employer,
    IncomeVerificationPrecheckPayrollInstitution? payrollInstitution,
    String? transactionsAccessToken,
    List<String>? transactionsAccessTokens,
    IncomeVerificationPrecheckMilitaryInfo? usMilitaryInfo}) {
  return IncomeVerificationPrecheckRequest(
      clientId: clientId ?? this.clientId,
      secret: secret ?? this.secret,
      user: user ?? this.user,
      employer: employer ?? this.employer,
      payrollInstitution: payrollInstitution ?? this.payrollInstitution,
      transactionsAccessToken:
          transactionsAccessToken ?? this.transactionsAccessToken,
      transactionsAccessTokens:
          transactionsAccessTokens ?? this.transactionsAccessTokens,
      usMilitaryInfo: usMilitaryInfo ?? this.usMilitaryInfo);
}