vertexCount property

int get vertexCount

Returns the number of vertices in this polygon.

Implementation

int get vertexCount => points.length;