Point constructor

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

Creates a point with the given x and y coordinates.

Implementation

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