MotorCommand constructor
- int? moveSteps,
- double? moveRadians,
- double? angle,
Implementation
factory MotorCommand({
$core.int? moveSteps,
$core.double? moveRadians,
$core.double? angle,
}) {
final $result = create();
if (moveSteps != null) {
$result.moveSteps = moveSteps;
}
if (moveRadians != null) {
$result.moveRadians = moveRadians;
}
if (angle != null) {
$result.angle = angle;
}
return $result;
}