copyWithWrapped method

Implementation

IdentityVerificationStepSummary copyWithWrapped(
    {Wrapped<enums.IdentityVerificationStepStatus>? acceptTos,
    Wrapped<enums.IdentityVerificationStepStatus>? verifySms,
    Wrapped<enums.IdentityVerificationStepStatus>? kycCheck,
    Wrapped<enums.IdentityVerificationStepStatus>? documentaryVerification,
    Wrapped<enums.IdentityVerificationStepStatus>? selfieCheck,
    Wrapped<enums.IdentityVerificationStepStatus>? watchlistScreening,
    Wrapped<enums.IdentityVerificationStepStatus>? riskCheck}) {
  return IdentityVerificationStepSummary(
      acceptTos: (acceptTos != null ? acceptTos.value : this.acceptTos),
      verifySms: (verifySms != null ? verifySms.value : this.verifySms),
      kycCheck: (kycCheck != null ? kycCheck.value : this.kycCheck),
      documentaryVerification: (documentaryVerification != null
          ? documentaryVerification.value
          : this.documentaryVerification),
      selfieCheck:
          (selfieCheck != null ? selfieCheck.value : this.selfieCheck),
      watchlistScreening: (watchlistScreening != null
          ? watchlistScreening.value
          : this.watchlistScreening),
      riskCheck: (riskCheck != null ? riskCheck.value : this.riskCheck));
}