LivenessThresholdHead.fromMap constructor

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

Implementation

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