BaseStationCommand constructor
Implementation
factory BaseStationCommand({
$2.Version? version,
AntennaControlMode? mode,
$3.GpsCoordinates? roverCoordinates,
$3.GpsCoordinates? baseStationCoordinatesOverride,
$3.GpsCoordinates? roverCoordinatesOverrideOverride,
AntennaFirmwareCommand? manualCommand,
}) {
final $result = create();
if (version != null) {
$result.version = version;
}
if (mode != null) {
$result.mode = mode;
}
if (roverCoordinates != null) {
$result.roverCoordinates = roverCoordinates;
}
if (baseStationCoordinatesOverride != null) {
$result.baseStationCoordinatesOverride = baseStationCoordinatesOverride;
}
if (roverCoordinatesOverrideOverride != null) {
$result.roverCoordinatesOverrideOverride = roverCoordinatesOverrideOverride;
}
if (manualCommand != null) {
$result.manualCommand = manualCommand;
}
return $result;
}