EnrollmentFlowOptions class

Configuration options for the enrollment flow

Constructors

EnrollmentFlowOptions({SmartfaceCameraPosition cameraPosition = SmartfaceCameraPosition.front, String? customId, int? groupA, int? groupB, bool? withGlasses, bool withoutServerPushing = false, bool saveImage = false})
const

Properties

cameraPosition SmartfaceCameraPosition
Camera position: "front" or "back"
final
customId String?
Custom user ID for enrollment (optional, collected in native UI if not provided)
final
groupA int?
Group A identifier (optional, collected in native UI if not provided)
final
groupB int?
Group B identifier (optional, collected in native UI if not provided)
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
saveImage bool
Save image to disk on successful enrollment
final
withGlasses bool?
Whether to enroll with glasses (optional, collected in native UI if not provided)
final
withoutServerPushing bool
Skip server push and return descriptor locally
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
Convert options to a map for platform channel
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited