BoundingBox constructor
BoundingBox({})
Implementation
factory BoundingBox({
$core.String? id,
$core.String? label,
$core.double? xMinNormalized,
$core.double? yMinNormalized,
$core.double? xMaxNormalized,
$core.double? yMaxNormalized,
$core.double? confidence,
}) {
final $result = create();
if (id != null) {
$result.id = id;
}
if (label != null) {
$result.label = label;
}
if (xMinNormalized != null) {
$result.xMinNormalized = xMinNormalized;
}
if (yMinNormalized != null) {
$result.yMinNormalized = yMinNormalized;
}
if (xMaxNormalized != null) {
$result.xMaxNormalized = xMaxNormalized;
}
if (yMaxNormalized != null) {
$result.yMaxNormalized = yMaxNormalized;
}
if (confidence != null) {
$result.confidence = confidence;
}
return $result;
}