Point2D constructor

const Point2D(
  1. double x,
  2. double y
)

Implementation

const Point2D(this.x, this.y);