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