copyWithWrapped method

IdentityVerificationCreateRequest copyWithWrapped({
  1. Wrapped<bool>? isShareable,
  2. Wrapped<String>? templateId,
  3. Wrapped<bool>? gaveConsent,
  4. Wrapped<IdentityVerificationRequestUser>? user,
  5. Wrapped<String?>? clientId,
  6. Wrapped<String?>? secret,
  7. Wrapped<bool?>? isIdempotent,
})

Implementation

IdentityVerificationCreateRequest copyWithWrapped(
    {Wrapped<bool>? isShareable,
    Wrapped<String>? templateId,
    Wrapped<bool>? gaveConsent,
    Wrapped<IdentityVerificationRequestUser>? user,
    Wrapped<String?>? clientId,
    Wrapped<String?>? secret,
    Wrapped<bool?>? isIdempotent}) {
  return IdentityVerificationCreateRequest(
      isShareable:
          (isShareable != null ? isShareable.value : this.isShareable),
      templateId: (templateId != null ? templateId.value : this.templateId),
      gaveConsent:
          (gaveConsent != null ? gaveConsent.value : this.gaveConsent),
      user: (user != null ? user.value : this.user),
      clientId: (clientId != null ? clientId.value : this.clientId),
      secret: (secret != null ? secret.value : this.secret),
      isIdempotent:
          (isIdempotent != null ? isIdempotent.value : this.isIdempotent));
}