Implementation
factory AutonomyData({
AutonomyState? state,
$2.GpsCoordinates? destination,
$core.Iterable<$2.GpsCoordinates>? obstacles,
$core.Iterable<$2.GpsCoordinates>? path,
AutonomyTask? task,
$core.bool? crash,
$0.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;
}