Point<T extends num> constructor

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

Creates a Point at the given x and y coordinates.

Implementation

const Point({required this.x, required this.y});