Point2.xy constructor

const Point2.xy(
  1. num x,
  2. num y
)

A point with coordinates given in order x, y.

Implementation

const Point2.xy(this.x, this.y);