Implementation
factory AutonomyData({
AutonomyState? state,
$3.GpsCoordinates? destination,
$core.Iterable<$3.GpsCoordinates>? obstacles,
$core.Iterable<$3.GpsCoordinates>? path,
AutonomyTask? task,
$core.bool? crash,
$2.Version? version,
}) {
final $result = create();
if (state != null) {
$result.state = state;
}
if (destination != null) {
$result.destination = destination;
}
if (obstacles != null) {
$result.obstacles.addAll(obstacles);
}
if (path != null) {
$result.path.addAll(path);
}
if (task != null) {
$result.task = task;
}
if (crash != null) {
$result.crash = crash;
}
if (version != null) {
$result.version = version;
}
return $result;
}