MarsData constructor

MarsData({
  1. double? swivel,
  2. double? tilt,
  3. GpsCoordinates? coordinates,
  4. MarsStatus? status,
})

Implementation

factory MarsData({
  $core.double? swivel,
  $core.double? tilt,
  $0.GpsCoordinates? coordinates,
  MarsStatus? status,
}) {
  final $result = create();
  if (swivel != null) {
    $result.swivel = swivel;
  }
  if (tilt != null) {
    $result.tilt = tilt;
  }
  if (coordinates != null) {
    $result.coordinates = coordinates;
  }
  if (status != null) {
    $result.status = status;
  }
  return $result;
}