LinearConstraint constructor

LinearConstraint({
  1. double? lineToleranceMm,
  2. double? orientationToleranceDegs,
})

Implementation

factory LinearConstraint({
  $core.double? lineToleranceMm,
  $core.double? orientationToleranceDegs,
}) {
  final $result = create();
  if (lineToleranceMm != null) {
    $result.lineToleranceMm = lineToleranceMm;
  }
  if (orientationToleranceDegs != null) {
    $result.orientationToleranceDegs = orientationToleranceDegs;
  }
  return $result;
}