Detection constructor
Detection({})
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;
}