IdentityVerificationSession constructor

const IdentityVerificationSession({
  1. String? clientReferenceId,
  2. String? clientSecret,
  3. required DateTime created,
  4. required String id,
  5. GelatoSessionLastError? lastError,
  6. IdentityVerificationReportOrId? lastVerificationReport,
  7. required bool livemode,
  8. required Map<String, String> metadata,
  9. GelatoVerificationSessionOptions? options,
  10. IdentityVerificationSessionRedaction? redaction,
  11. required IdentityVerificationSessionStatus status,
  12. required IdentityVerificationReportType type,
  13. String? url,
  14. GelatoVerifiedOutputs? verifiedOutputs,
})

GelatoVerificationSession

A VerificationSession guides you through the process of collecting and verifying the identities of your users. It contains details about the type of verification, such as what [verification check](/docs/identity/verification-checks) to perform. Only create one VerificationSession for each verification in your system. A VerificationSession transitions through [multiple statuses](/docs/identity/how-sessions-work) throughout its lifetime as it progresses through the verification flow. The VerificationSession contains the user's verified data after verification checks are complete. Related guide: [The Verification Sessions API](https://stripe.com/docs/identity/verification-sessions)

Implementation

const IdentityVerificationSession({
  this.clientReferenceId,
  this.clientSecret,
  required this.created,
  required this.id,
  this.lastError,
  this.lastVerificationReport,
  required this.livemode,
  required this.metadata,
  this.options,
  this.redaction,
  required this.status,
  required this.type,
  this.url,
  this.verifiedOutputs,
});