VertexAutoMLVisionConfig constructor

VertexAutoMLVisionConfig({
  1. double? confidenceThreshold,
  2. int? maxPredictions,
})

Implementation

factory VertexAutoMLVisionConfig({
  $core.double? confidenceThreshold,
  $core.int? maxPredictions,
}) {
  final $result = create();
  if (confidenceThreshold != null) {
    $result.confidenceThreshold = confidenceThreshold;
  }
  if (maxPredictions != null) {
    $result.maxPredictions = maxPredictions;
  }
  return $result;
}