WorldState constructor
WorldState({
- Iterable<
GeometriesInFrame> ? obstacles, - Iterable<
Transform> ? transforms,
Implementation
factory WorldState({
$core.Iterable<GeometriesInFrame>? obstacles,
$core.Iterable<Transform>? transforms,
}) {
final $result = create();
if (obstacles != null) {
$result.obstacles.addAll(obstacles);
}
if (transforms != null) {
$result.transforms.addAll(transforms);
}
return $result;
}