setThresholds method
Sets multiple thresholds through the widget's state.
This method can be called using a GlobalKey to access the state.
Implementation
Future<void> setThresholds({
double? confidenceThreshold,
double? iouThreshold,
int? numItemsThreshold,
}) {
return _effectiveController.setThresholds(
confidenceThreshold: confidenceThreshold,
iouThreshold: iouThreshold,
numItemsThreshold: numItemsThreshold,
);
}