AddBoundingBoxToImageByIDRequest constructor

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

Implementation

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