GetDetectionsResponse constructor

GetDetectionsResponse({
  1. Iterable<Detection>? detections,
})

Implementation

factory GetDetectionsResponse({
  $core.Iterable<Detection>? detections,
}) {
  final $result = create();
  if (detections != null) {
    $result.detections.addAll(detections);
  }
  return $result;
}