Annotations constructor
- Iterable<
BoundingBox> ? bboxes, - Iterable<
Classification> ? classifications,
Implementation
factory Annotations({
$core.Iterable<BoundingBox>? bboxes,
$core.Iterable<Classification>? classifications,
}) {
final $result = create();
if (bboxes != null) {
$result.bboxes.addAll(bboxes);
}
if (classifications != null) {
$result.classifications.addAll(classifications);
}
return $result;
}