CaptureAllFromCameraResponse constructor
CaptureAllFromCameraResponse({
- Image? image,
- Iterable<
Detection> ? detections, - Iterable<
Classification> ? classifications, - Iterable<
PointCloudObject> ? objects, - Struct? extra,
Implementation
factory CaptureAllFromCameraResponse({
$19.Image? image,
$core.Iterable<Detection>? detections,
$core.Iterable<Classification>? classifications,
$core.Iterable<$14.PointCloudObject>? objects,
$43.Struct? extra,
}) {
final $result = create();
if (image != null) {
$result.image = image;
}
if (detections != null) {
$result.detections.addAll(detections);
}
if (classifications != null) {
$result.classifications.addAll(classifications);
}
if (objects != null) {
$result.objects.addAll(objects);
}
if (extra != null) {
$result.extra = extra;
}
return $result;
}