RoverPosition constructor

RoverPosition({
  1. GpsCoordinates? gps,
  2. Orientation? orientation,
  3. Version? version,
})

Implementation

factory RoverPosition({
  GpsCoordinates? gps,
  Orientation? orientation,
  $0.Version? version,
}) {
  final $result = create();
  if (gps != null) {
    $result.gps = gps;
  }
  if (orientation != null) {
    $result.orientation = orientation;
  }
  if (version != null) {
    $result.version = version;
  }
  return $result;
}