Area constructor

Area({
  1. required List<Point> points,
  2. bool passable = true,
})

Implementation

Area({required this.points, this.passable = true}) {
  for (var element in points) {
    assert(element.z == 0.0, "Only 2D points are allowed");
  }
}