fromDict method
Implementation
@override
LivenessThreshold fromDict(Map<String, dynamic> map) {
return LivenessThresholdBlink(
leftEyeProbability: map['leftEyeProbability']?.toDouble() ?? 0.0,
rightEyeProbability: map['rightEyeProbability']?.toDouble() ?? 0.0,
);
}