copyWithWrapped method

Implementation

CreditPayrollIncomePrecheckRequest copyWithWrapped(
    {Wrapped<String?>? clientId,
    Wrapped<String?>? secret,
    Wrapped<String?>? userToken,
    Wrapped<List<String>?>? accessTokens,
    Wrapped<IncomeVerificationPrecheckEmployer?>? employer,
    Wrapped<IncomeVerificationPrecheckMilitaryInfo?>? usMilitaryInfo,
    Wrapped<IncomeVerificationPrecheckPayrollInstitution?>?
        payrollInstitution}) {
  return CreditPayrollIncomePrecheckRequest(
      clientId: (clientId != null ? clientId.value : this.clientId),
      secret: (secret != null ? secret.value : this.secret),
      userToken: (userToken != null ? userToken.value : this.userToken),
      accessTokens:
          (accessTokens != null ? accessTokens.value : this.accessTokens),
      employer: (employer != null ? employer.value : this.employer),
      usMilitaryInfo: (usMilitaryInfo != null
          ? usMilitaryInfo.value
          : this.usMilitaryInfo),
      payrollInstitution: (payrollInstitution != null
          ? payrollInstitution.value
          : this.payrollInstitution));
}