LivenessThresholdBlink.fromMap constructor

LivenessThresholdBlink.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory LivenessThresholdBlink.fromMap(Map<String, dynamic> map) {
  return LivenessThresholdBlink(
    leftEyeProbability: map['leftEyeProbability']?.toDouble() ?? 0.0,
    rightEyeProbability: map['rightEyeProbability']?.toDouble() ?? 0.0,
  );
}