WorldState constructor

WorldState({
  1. Iterable<GeometriesInFrame>? obstacles,
  2. 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;
}