midPoint property

Point get midPoint

The midpoint of the line

Implementation

Point get midPoint => Point((a.x + b.x) / 2, (a.y + b.y) / 2);