copyWithWrapped method
IdentityVerificationGetResponse
copyWithWrapped({
- Wrapped<
String> ? id, - Wrapped<
String> ? clientUserId, - Wrapped<
String> ? createdAt, - Wrapped<
String?> ? completedAt, - Wrapped<
String?> ? previousAttemptId, - Wrapped<
IdentityVerificationTemplateReference> ? template, - Wrapped<
IdentityVerificationUserData> ? user, - Wrapped<
IdentityVerificationStatus> ? status, - Wrapped<
IdentityVerificationStepSummary> ? steps, - Wrapped<
DocumentaryVerification?> ? documentaryVerification, - Wrapped<
KYCCheckDetails?> ? kycCheck, - Wrapped<
String?> ? watchlistScreeningId, - Wrapped<
String> ? requestId,
Implementation
IdentityVerificationGetResponse 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 IdentityVerificationGetResponse(
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));
}