PreprocessingConfig_Crop constructor

PreprocessingConfig_Crop({
  1. int? topPixels,
  2. int? bottomPixels,
  3. int? leftPixels,
  4. int? rightPixels,
})

Implementation

factory PreprocessingConfig_Crop({
  $core.int? topPixels,
  $core.int? bottomPixels,
  $core.int? leftPixels,
  $core.int? rightPixels,
}) {
  final $result = create();
  if (topPixels != null) {
    $result.topPixels = topPixels;
  }
  if (bottomPixels != null) {
    $result.bottomPixels = bottomPixels;
  }
  if (leftPixels != null) {
    $result.leftPixels = leftPixels;
  }
  if (rightPixels != null) {
    $result.rightPixels = rightPixels;
  }
  return $result;
}