copyWith method

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

Implementation

IdentityVerificationCreateRequest copyWith(
    {bool? isShareable,
    String? templateId,
    bool? gaveConsent,
    IdentityVerificationRequestUser? user,
    String? clientId,
    String? secret,
    bool? isIdempotent}) {
  return IdentityVerificationCreateRequest(
      isShareable: isShareable ?? this.isShareable,
      templateId: templateId ?? this.templateId,
      gaveConsent: gaveConsent ?? this.gaveConsent,
      user: user ?? this.user,
      clientId: clientId ?? this.clientId,
      secret: secret ?? this.secret,
      isIdempotent: isIdempotent ?? this.isIdempotent);
}