copyWith method

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

Implementation

IdentityVerificationRetryResponse copyWith(
    {String? id,
    String? clientUserId,
    String? createdAt,
    String? completedAt,
    String? previousAttemptId,
    String? shareableUrl,
    IdentityVerificationTemplateReference? template,
    IdentityVerificationUserData? user,
    enums.IdentityVerificationStatus? status,
    IdentityVerificationStepSummary? steps,
    DocumentaryVerification? documentaryVerification,
    KYCCheckDetails? kycCheck,
    String? watchlistScreeningId,
    String? requestId}) {
  return IdentityVerificationRetryResponse(
      id: id ?? this.id,
      clientUserId: clientUserId ?? this.clientUserId,
      createdAt: createdAt ?? this.createdAt,
      completedAt: completedAt ?? this.completedAt,
      previousAttemptId: previousAttemptId ?? this.previousAttemptId,
      shareableUrl: shareableUrl ?? this.shareableUrl,
      template: template ?? this.template,
      user: user ?? this.user,
      status: status ?? this.status,
      steps: steps ?? this.steps,
      documentaryVerification:
          documentaryVerification ?? this.documentaryVerification,
      kycCheck: kycCheck ?? this.kycCheck,
      watchlistScreeningId: watchlistScreeningId ?? this.watchlistScreeningId,
      requestId: requestId ?? this.requestId);
}