LivenessThresholdSmile.fromMap constructor

  1. @override
LivenessThresholdSmile.fromMap(
  1. Map<String, dynamic> map
)

Implementation

@override
factory LivenessThresholdSmile.fromMap(Map<String, dynamic> map) {
  return LivenessThresholdSmile(
    probability: map['probability']?.toDouble() ?? 0.0,
  );
}