Point constructor

Point({
  1. required int x,
  2. required int y,
})

Implementation

Point({
  /// The x-coordinate of the point.
  required int x,

  /// The y-coordinate of the point.
  required int y,
}) : _wrapped = $js.Point(
        x: x,
        y: y,
      );