LivenessDetectionStepItem.fromMap constructor
Implementation
factory LivenessDetectionStepItem.fromMap(Map<String, dynamic> map) {
return LivenessDetectionStepItem(
step: LivenessDetectionStep.values[map['step'] ?? 0],
title: map['title'] ?? '',
thresholdToCheck: map['thresholdToCheck']?.toDouble(),
isCompleted: map['isCompleted'] ?? false,
);
}