getPoint method

Point getPoint(
  1. int i
)

Gets the point at index i.

Implementation

Point getPoint(int i) => Point(coords[i * 2], coords[i * 2 + 1]);