create method

Detector create({
  1. double? alpha,
})

Implementation

Detector create({double? alpha}) {
  Detector detector = _createDetector();
  if (alpha != null) {
    detector.setAlpha(alpha);
  }
  return detector;
}