UpdateBoundingBoxRequest constructor

UpdateBoundingBoxRequest({
  1. BinaryID? binaryId,
  2. String? bboxId,
  3. String? label,
  4. double? xMinNormalized,
  5. double? yMinNormalized,
  6. double? xMaxNormalized,
  7. double? yMaxNormalized,
})

Implementation

factory UpdateBoundingBoxRequest({
  BinaryID? binaryId,
  $core.String? bboxId,
  $core.String? label,
  $core.double? xMinNormalized,
  $core.double? yMinNormalized,
  $core.double? xMaxNormalized,
  $core.double? yMaxNormalized,
}) {
  final $result = create();
  if (binaryId != null) {
    $result.binaryId = binaryId;
  }
  if (bboxId != null) {
    $result.bboxId = bboxId;
  }
  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;
  }
  return $result;
}