isCollidingWithPoints method

bool isCollidingWithPoints(
  1. Set<Point> otherPoints
)

Implementation

bool isCollidingWithPoints(Set<Point> otherPoints) {
  return _points.any((p) => otherPoints.contains(p));
}