Point<T extends num> constructor
- T x,
- T y
Creates a point with the provided x
and y
coordinates.
Legacy: New usages of Point are discouraged. To learn more, check out the Point class API docs.
Implementation
const Point(T x, T y) : this.x = x, this.y = y;