MarsCommand constructor

MarsCommand({
  1. double? swivel,
  2. double? tilt,
  3. GpsCoordinates? rover,
  4. GpsCoordinates? baseStationOverride,
})

Implementation

factory MarsCommand({
  $core.double? swivel,
  $core.double? tilt,
  $0.GpsCoordinates? rover,
  $0.GpsCoordinates? baseStationOverride,
}) {
  final $result = create();
  if (swivel != null) {
    $result.swivel = swivel;
  }
  if (tilt != null) {
    $result.tilt = tilt;
  }
  if (rover != null) {
    $result.rover = rover;
  }
  if (baseStationOverride != null) {
    $result.baseStationOverride = baseStationOverride;
  }
  return $result;
}