Point constructor

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

Creates a point object with x,y coordinates.

Implementation

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