Point<T extends num> constructor

const Point<T extends num>(
  1. T x,
  2. T y
)

Creates a point with the provided x and y coordinates.

Implementation

const Point(T x, T y)
    : this.x = x,
      this.y = y;