AntennaFirmwareCommand constructor

AntennaFirmwareCommand({
  1. Version? version,
  2. MotorCommand? swivel,
  3. bool? stop,
  4. bool? calibrate,
})

Implementation

factory AntennaFirmwareCommand({
  $2.Version? version,
  $1.MotorCommand? swivel,
  $core.bool? stop,
  $core.bool? calibrate,
}) {
  final $result = create();
  if (version != null) {
    $result.version = version;
  }
  if (swivel != null) {
    $result.swivel = swivel;
  }
  if (stop != null) {
    $result.stop = stop;
  }
  if (calibrate != null) {
    $result.calibrate = calibrate;
  }
  return $result;
}