JointLimits constructor

JointLimits({
  1. double? min,
  2. double? max,
  3. double? maxVelocity,
  4. double? maxAcceleration,
})

Implementation

factory JointLimits({
  $core.double? min,
  $core.double? max,
  $core.double? maxVelocity,
  $core.double? maxAcceleration,
}) {
  final $result = create();
  if (min != null) {
    $result.min = min;
  }
  if (max != null) {
    $result.max = max;
  }
  if (maxVelocity != null) {
    $result.maxVelocity = maxVelocity;
  }
  if (maxAcceleration != null) {
    $result.maxAcceleration = maxAcceleration;
  }
  return $result;
}