setConfidenceThreshold method

Future<void> setConfidenceThreshold(
  1. double threshold
)

Implementation

Future<void> setConfidenceThreshold(double threshold) async {
  _confidenceThreshold = threshold.clamp(0.0, 1.0);
  await _invoke('setConfidenceThreshold', {
    'threshold': _confidenceThreshold,
  });
}