Implementation
factory GripperData({
MotorData? lift,
MotorData? rotate,
MotorData? pinch,
$0.Version? version,
$core.int? servoAngle,
$1.BoolState? laserState,
}) {
final $result = create();
if (lift != null) {
$result.lift = lift;
}
if (rotate != null) {
$result.rotate = rotate;
}
if (pinch != null) {
$result.pinch = pinch;
}
if (version != null) {
$result.version = version;
}
if (servoAngle != null) {
$result.servoAngle = servoAngle;
}
if (laserState != null) {
$result.laserState = laserState;
}
return $result;
}