setConfidenceThreshold method
Sets the confidence threshold through the widget's state.
This method can be called using a GlobalKey to access the state:
final key = GlobalKey<YOLOViewState>();
// Later...
key.currentState?.setConfidenceThreshold(0.7);
Implementation
Future<void> setConfidenceThreshold(double threshold) {
return _effectiveController.setConfidenceThreshold(threshold);
}