FaceDetector constructor

FaceDetector([
  1. Map? faceDetectorOptions
])

Implementation

factory FaceDetector([Map? faceDetectorOptions]) {
  if (faceDetectorOptions != null) {
    var faceDetectorOptions_1 = convertDartToNative_Dictionary(
      faceDetectorOptions,
    );
    return FaceDetector._create_1(faceDetectorOptions_1);
  }
  return FaceDetector._create_2();
}