AgeVerificationState constructor

const AgeVerificationState({
  1. AgeVerificationStep step = AgeVerificationStep.initial,
  2. String? sessionId,
  3. String? ageVerificationId,
  4. LivenessSession? livenessSession,
  5. Credentials? credentials,
  6. bool isLoading = false,
  7. String? error,
  8. bool shouldDismiss = false,
})

Implementation

const AgeVerificationState({
  this.step = AgeVerificationStep.initial,
  this.sessionId,
  this.ageVerificationId,
  this.livenessSession,
  this.credentials,
  this.isLoading = false,
  this.error,
  this.shouldDismiss = false,
});