copyWithWrapped method

IdentityVerificationCreateResponse copyWithWrapped({
  1. Wrapped<String>? id,
  2. Wrapped<String>? clientUserId,
  3. Wrapped<String>? createdAt,
  4. Wrapped<String?>? completedAt,
  5. Wrapped<String?>? previousAttemptId,
  6. Wrapped<String?>? shareableUrl,
  7. Wrapped<IdentityVerificationTemplateReference>? template,
  8. Wrapped<IdentityVerificationUserData>? user,
  9. Wrapped<IdentityVerificationStatus>? status,
  10. Wrapped<IdentityVerificationStepSummary>? steps,
  11. Wrapped<DocumentaryVerification?>? documentaryVerification,
  12. Wrapped<KYCCheckDetails?>? kycCheck,
  13. Wrapped<String?>? watchlistScreeningId,
  14. Wrapped<String>? requestId,
})

Implementation

IdentityVerificationCreateResponse copyWithWrapped(
    {Wrapped<String>? id,
    Wrapped<String>? clientUserId,
    Wrapped<String>? createdAt,
    Wrapped<String?>? completedAt,
    Wrapped<String?>? previousAttemptId,
    Wrapped<String?>? shareableUrl,
    Wrapped<IdentityVerificationTemplateReference>? template,
    Wrapped<IdentityVerificationUserData>? user,
    Wrapped<enums.IdentityVerificationStatus>? status,
    Wrapped<IdentityVerificationStepSummary>? steps,
    Wrapped<DocumentaryVerification?>? documentaryVerification,
    Wrapped<KYCCheckDetails?>? kycCheck,
    Wrapped<String?>? watchlistScreeningId,
    Wrapped<String>? requestId}) {
  return IdentityVerificationCreateResponse(
      id: (id != null ? id.value : this.id),
      clientUserId:
          (clientUserId != null ? clientUserId.value : this.clientUserId),
      createdAt: (createdAt != null ? createdAt.value : this.createdAt),
      completedAt:
          (completedAt != null ? completedAt.value : this.completedAt),
      previousAttemptId: (previousAttemptId != null
          ? previousAttemptId.value
          : this.previousAttemptId),
      shareableUrl:
          (shareableUrl != null ? shareableUrl.value : this.shareableUrl),
      template: (template != null ? template.value : this.template),
      user: (user != null ? user.value : this.user),
      status: (status != null ? status.value : this.status),
      steps: (steps != null ? steps.value : this.steps),
      documentaryVerification: (documentaryVerification != null
          ? documentaryVerification.value
          : this.documentaryVerification),
      kycCheck: (kycCheck != null ? kycCheck.value : this.kycCheck),
      watchlistScreeningId: (watchlistScreeningId != null
          ? watchlistScreeningId.value
          : this.watchlistScreeningId),
      requestId: (requestId != null ? requestId.value : this.requestId));
}