topPoint property

Point get topPoint

Get the furthest top point of the polygon

Implementation

Point get topPoint =>
    vertices.reduce((cur, next) => cur.y >= next.y ? cur : next);