LivenessSession constructor
LivenessSession({})
Implementation
LivenessSession({
required this.challenges,
this.currentChallengeIndex = 0,
this.state = LivenessState.initial,
String? sessionId,
DateTime? startTime,
this.metadata,
}) : sessionId = sessionId ?? const Uuid().v4(),
startTime = startTime ?? DateTime.now();