Detection constructor

Detection({
  1. Int64? xMin,
  2. Int64? yMin,
  3. Int64? xMax,
  4. Int64? yMax,
  5. double? confidence,
  6. String? className,
})

Implementation

factory Detection({
  $fixnum.Int64? xMin,
  $fixnum.Int64? yMin,
  $fixnum.Int64? xMax,
  $fixnum.Int64? yMax,
  $core.double? confidence,
  $core.String? className,
}) {
  final $result = create();
  if (xMin != null) {
    $result.xMin = xMin;
  }
  if (yMin != null) {
    $result.yMin = yMin;
  }
  if (xMax != null) {
    $result.xMax = xMax;
  }
  if (yMax != null) {
    $result.yMax = yMax;
  }
  if (confidence != null) {
    $result.confidence = confidence;
  }
  if (className != null) {
    $result.className = className;
  }
  return $result;
}