copyWith method

CreditPayrollIncomePrecheckRequest copyWith({
  1. String? clientId,
  2. String? secret,
  3. String? userToken,
  4. List<String>? accessTokens,
  5. IncomeVerificationPrecheckEmployer? employer,
  6. IncomeVerificationPrecheckMilitaryInfo? usMilitaryInfo,
  7. IncomeVerificationPrecheckPayrollInstitution? payrollInstitution,
})

Implementation

CreditPayrollIncomePrecheckRequest copyWith(
    {String? clientId,
    String? secret,
    String? userToken,
    List<String>? accessTokens,
    IncomeVerificationPrecheckEmployer? employer,
    IncomeVerificationPrecheckMilitaryInfo? usMilitaryInfo,
    IncomeVerificationPrecheckPayrollInstitution? payrollInstitution}) {
  return CreditPayrollIncomePrecheckRequest(
      clientId: clientId ?? this.clientId,
      secret: secret ?? this.secret,
      userToken: userToken ?? this.userToken,
      accessTokens: accessTokens ?? this.accessTokens,
      employer: employer ?? this.employer,
      usMilitaryInfo: usMilitaryInfo ?? this.usMilitaryInfo,
      payrollInstitution: payrollInstitution ?? this.payrollInstitution);
}