copyWithWrapped method

IncomeVerificationDocumentsDownloadRequest copyWithWrapped({
  1. Wrapped<String?>? clientId,
  2. Wrapped<String?>? secret,
  3. Wrapped<String?>? incomeVerificationId,
  4. Wrapped<String?>? accessToken,
  5. Wrapped<String?>? documentId,
})

Implementation

IncomeVerificationDocumentsDownloadRequest copyWithWrapped(
    {Wrapped<String?>? clientId,
    Wrapped<String?>? secret,
    Wrapped<String?>? incomeVerificationId,
    Wrapped<String?>? accessToken,
    Wrapped<String?>? documentId}) {
  return IncomeVerificationDocumentsDownloadRequest(
      clientId: (clientId != null ? clientId.value : this.clientId),
      secret: (secret != null ? secret.value : this.secret),
      incomeVerificationId: (incomeVerificationId != null
          ? incomeVerificationId.value
          : this.incomeVerificationId),
      accessToken:
          (accessToken != null ? accessToken.value : this.accessToken),
      documentId: (documentId != null ? documentId.value : this.documentId));
}